diff --git a/google-api-grpc/grpc-google-cloud-talent-v4beta1/pom.xml b/google-api-grpc/grpc-google-cloud-talent-v4beta1/pom.xml
new file mode 100644
index 000000000000..3f5aa22be136
--- /dev/null
+++ b/google-api-grpc/grpc-google-cloud-talent-v4beta1/pom.xml
@@ -0,0 +1,31 @@
+
+ * A service that handles company management, including CRUD and enumeration. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/talent/v4beta1/company_service.proto") +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. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getCreateCompanyMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + METHOD_CREATE_COMPANY = getCreateCompanyMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getCreateCompanyMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getCreateCompanyMethod() { + return getCreateCompanyMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getCreateCompanyMethodHelper() { + 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 + .
+ * 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
+ * Retrieves specified company. + *+ */ + public void getCompany( + com.google.cloud.talent.v4beta1.GetCompanyRequest request, + io.grpc.stub.StreamObserver
+ * Updates specified company. + *+ */ + public void updateCompany( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver
+ * 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
+ * Lists all companies associated with the project. + *+ */ + public void listCompanies( + com.google.cloud.talent.v4beta1.ListCompaniesRequest request, + io.grpc.stub.StreamObserver
+ * A service that handles company management, including CRUD and enumeration. + *+ */ + public static final class CompanyServiceStub + extends io.grpc.stub.AbstractStub
+ * Creates a new company entity. + *+ */ + public void createCompany( + com.google.cloud.talent.v4beta1.CreateCompanyRequest request, + io.grpc.stub.StreamObserver
+ * Retrieves specified company. + *+ */ + public void getCompany( + com.google.cloud.talent.v4beta1.GetCompanyRequest request, + io.grpc.stub.StreamObserver
+ * Updates specified company. + *+ */ + public void updateCompany( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver
+ * 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
+ * Lists all companies associated with the project. + *+ */ + public void listCompanies( + com.google.cloud.talent.v4beta1.ListCompaniesRequest request, + io.grpc.stub.StreamObserver
+ * A service that handles company management, including CRUD and enumeration. + *+ */ + public static final class CompanyServiceBlockingStub + extends io.grpc.stub.AbstractStub
+ * Creates a new company entity. + *+ */ + public com.google.cloud.talent.v4beta1.Company createCompany( + com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { + return blockingUnaryCall( + getChannel(), getCreateCompanyMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Retrieves specified company. + *+ */ + public com.google.cloud.talent.v4beta1.Company getCompany( + com.google.cloud.talent.v4beta1.GetCompanyRequest request) { + return blockingUnaryCall( + getChannel(), getGetCompanyMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Updates specified company. + *+ */ + public com.google.cloud.talent.v4beta1.Company updateCompany( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { + return blockingUnaryCall( + getChannel(), getUpdateCompanyMethodHelper(), 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 blockingUnaryCall( + getChannel(), getDeleteCompanyMethodHelper(), 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 blockingUnaryCall( + getChannel(), getListCompaniesMethodHelper(), getCallOptions(), request); + } + } + + /** + * + * + *
+ * A service that handles company management, including CRUD and enumeration. + *+ */ + public static final class CompanyServiceFutureStub + extends io.grpc.stub.AbstractStub
+ * 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 futureUnaryCall( + getChannel().newCall(getCreateCompanyMethodHelper(), 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 futureUnaryCall( + getChannel().newCall(getGetCompanyMethodHelper(), 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 futureUnaryCall( + getChannel().newCall(getUpdateCompanyMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+ * Deletes specified company. + * Prerequisite: The company has no jobs associated with it. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * 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 futureUnaryCall( + getChannel().newCall(getListCompaniesMethodHelper(), 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
+ * A service handles auto completion. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/talent/v4beta1/completion_service.proto") +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. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getCompleteQueryMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + METHOD_COMPLETE_QUERY = getCompleteQueryMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + getCompleteQueryMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + getCompleteQueryMethod() { + return getCompleteQueryMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + getCompleteQueryMethodHelper() { + 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 + .
+ * 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
+ * A service handles auto completion. + *+ */ + public static final class CompletionStub extends io.grpc.stub.AbstractStub
+ * 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
+ * A service handles auto completion. + *+ */ + public static final class CompletionBlockingStub + extends io.grpc.stub.AbstractStub
+ * 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 blockingUnaryCall( + getChannel(), getCompleteQueryMethodHelper(), getCallOptions(), request); + } + } + + /** + * + * + *
+ * A service handles auto completion. + *+ */ + public static final class CompletionFutureStub + extends io.grpc.stub.AbstractStub
+ * 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 futureUnaryCall( + getChannel().newCall(getCompleteQueryMethodHelper(), getCallOptions()), request); + } + } + + private static final int METHODID_COMPLETE_QUERY = 0; + + private static final class MethodHandlers
+ * A service handles client event report. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/talent/v4beta1/event_service.proto") +public final class EventServiceGrpc { + + private EventServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.EventService"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getCreateClientEventMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent> + METHOD_CREATE_CLIENT_EVENT = getCreateClientEventMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent> + getCreateClientEventMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent> + getCreateClientEventMethod() { + return getCreateClientEventMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent> + getCreateClientEventMethodHelper() { + 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 + .
+ * A service handles client event report. + *+ */ + 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 + * [self service + * tools](https://console.cloud.google.com/talent-solution/overview). + * [Learn + * more](https://cloud.google.com/talent-solution/docs/management-tools) + * about self service tools. + *+ */ + public void createClientEvent( + com.google.cloud.talent.v4beta1.CreateClientEventRequest request, + io.grpc.stub.StreamObserver
+ * A service handles client event report. + *+ */ + public static final class EventServiceStub extends io.grpc.stub.AbstractStub
+ * Report events issued when end user interacts with customer's application + * that uses Cloud Talent Solution. You may inspect the created events in + * [self service + * tools](https://console.cloud.google.com/talent-solution/overview). + * [Learn + * more](https://cloud.google.com/talent-solution/docs/management-tools) + * about self service tools. + *+ */ + public void createClientEvent( + com.google.cloud.talent.v4beta1.CreateClientEventRequest request, + io.grpc.stub.StreamObserver
+ * A service handles client event report. + *+ */ + public static final class EventServiceBlockingStub + extends io.grpc.stub.AbstractStub
+ * Report events issued when end user interacts with customer's application + * that uses Cloud Talent Solution. You may inspect the created events in + * [self service + * tools](https://console.cloud.google.com/talent-solution/overview). + * [Learn + * more](https://cloud.google.com/talent-solution/docs/management-tools) + * about self service tools. + *+ */ + public com.google.cloud.talent.v4beta1.ClientEvent createClientEvent( + com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { + return blockingUnaryCall( + getChannel(), getCreateClientEventMethodHelper(), getCallOptions(), request); + } + } + + /** + * + * + *
+ * A service handles client event report. + *+ */ + public static final class EventServiceFutureStub + extends io.grpc.stub.AbstractStub
+ * Report events issued when end user interacts with customer's application + * that uses Cloud Talent Solution. You may inspect the created events in + * [self service + * tools](https://console.cloud.google.com/talent-solution/overview). + * [Learn + * more](https://cloud.google.com/talent-solution/docs/management-tools) + * 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) { + return futureUnaryCall( + getChannel().newCall(getCreateClientEventMethodHelper(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_CLIENT_EVENT = 0; + + private static final class MethodHandlers
+ * A service handles job management, including job CRUD, enumeration and search. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/talent/v4beta1/job_service.proto") +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. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getCreateJobMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> + METHOD_CREATE_JOB = getCreateJobMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> + getCreateJobMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> + getCreateJobMethod() { + return getCreateJobMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> + getCreateJobMethodHelper() { + 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 + .
+ * 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
+ * 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
+ * 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
+ * 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
+ * Lists jobs by filter. + *+ */ + public void listJobs( + com.google.cloud.talent.v4beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver
+ * 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
+ * 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
+ * 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
+ * A service handles job management, including job CRUD, enumeration and search. + *+ */ + public static final class JobServiceStub extends io.grpc.stub.AbstractStub
+ * 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
+ * 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
+ * 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
+ * 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
+ * Lists jobs by filter. + *+ */ + public void listJobs( + com.google.cloud.talent.v4beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver
+ * 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
+ * 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
+ * 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
+ * A service handles job management, including job CRUD, enumeration and search. + *+ */ + public static final class JobServiceBlockingStub + extends io.grpc.stub.AbstractStub
+ * 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 blockingUnaryCall(getChannel(), getCreateJobMethodHelper(), 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 blockingUnaryCall(getChannel(), getGetJobMethodHelper(), 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 blockingUnaryCall(getChannel(), getUpdateJobMethodHelper(), 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 blockingUnaryCall(getChannel(), getDeleteJobMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Lists jobs by filter. + *+ */ + public com.google.cloud.talent.v4beta1.ListJobsResponse listJobs( + com.google.cloud.talent.v4beta1.ListJobsRequest request) { + return blockingUnaryCall(getChannel(), getListJobsMethodHelper(), 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 blockingUnaryCall( + getChannel(), getBatchDeleteJobsMethodHelper(), 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 blockingUnaryCall( + getChannel(), getSearchJobsMethodHelper(), 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 blockingUnaryCall( + getChannel(), getSearchJobsForAlertMethodHelper(), getCallOptions(), request); + } + } + + /** + * + * + *
+ * A service handles job management, including job CRUD, enumeration and search. + *+ */ + public static final class JobServiceFutureStub + extends io.grpc.stub.AbstractStub
+ * 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
+ * Retrieves the specified job, whose status is OPEN or recently EXPIRED + * within the last 90 days. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * 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
+ * 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
+ * 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 futureUnaryCall( + getChannel().newCall(getListJobsMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+ * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * 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 futureUnaryCall( + getChannel().newCall(getSearchJobsMethodHelper(), 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 futureUnaryCall( + getChannel().newCall(getSearchJobsForAlertMethodHelper(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_JOB = 0; + private static final int METHODID_GET_JOB = 1; + private static final int METHODID_UPDATE_JOB = 2; + private static final int METHODID_DELETE_JOB = 3; + private static final int METHODID_LIST_JOBS = 4; + private static final int METHODID_BATCH_DELETE_JOBS = 5; + private static final int METHODID_SEARCH_JOBS = 6; + private static final int METHODID_SEARCH_JOBS_FOR_ALERT = 7; + + private static final class MethodHandlers
+ * A service that handles profile management, including profile CRUD, + * enumeration and search. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/talent/v4beta1/profile_service.proto") +public final class ProfileServiceGrpc { + + private ProfileServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.ProfileService"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getListProfilesMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListProfilesRequest, + com.google.cloud.talent.v4beta1.ListProfilesResponse> + METHOD_LIST_PROFILES = getListProfilesMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListProfilesRequest, + com.google.cloud.talent.v4beta1.ListProfilesResponse> + getListProfilesMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListProfilesRequest, + com.google.cloud.talent.v4beta1.ListProfilesResponse> + getListProfilesMethod() { + return getListProfilesMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListProfilesRequest, + com.google.cloud.talent.v4beta1.ListProfilesResponse> + getListProfilesMethodHelper() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListProfilesRequest, + com.google.cloud.talent.v4beta1.ListProfilesResponse> + getListProfilesMethod; + if ((getListProfilesMethod = ProfileServiceGrpc.getListProfilesMethod) == null) { + synchronized (ProfileServiceGrpc.class) { + if ((getListProfilesMethod = ProfileServiceGrpc.getListProfilesMethod) == null) { + ProfileServiceGrpc.getListProfilesMethod = + getListProfilesMethod = + io.grpc.MethodDescriptor + .
+ * A service that handles profile management, including profile CRUD, + * enumeration and search. + *+ */ + public abstract static class ProfileServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+ * Lists profiles by filter. The order is unspecified. + *+ */ + public void listProfiles( + com.google.cloud.talent.v4beta1.ListProfilesRequest request, + io.grpc.stub.StreamObserver
+ * Creates and returns a new profile. + *+ */ + public void createProfile( + com.google.cloud.talent.v4beta1.CreateProfileRequest request, + io.grpc.stub.StreamObserver
+ * Gets the specified profile. + *+ */ + public void getProfile( + com.google.cloud.talent.v4beta1.GetProfileRequest request, + io.grpc.stub.StreamObserver
+ * Updates the specified profile and returns the updated result. + *+ */ + public void updateProfile( + com.google.cloud.talent.v4beta1.UpdateProfileRequest request, + io.grpc.stub.StreamObserver
+ * Deletes the specified profile. + *+ */ + public void deleteProfile( + com.google.cloud.talent.v4beta1.DeleteProfileRequest request, + io.grpc.stub.StreamObserver
+ * Searches for profiles within a tenant. + * For example, search by raw queries "software engineer in Mountain View" or + * search by structured filters (location filter, education filter, etc.). + * See + * [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] + * for more information. + *+ */ + public void searchProfiles( + com.google.cloud.talent.v4beta1.SearchProfilesRequest request, + io.grpc.stub.StreamObserver
+ * A service that handles profile management, including profile CRUD, + * enumeration and search. + *+ */ + public static final class ProfileServiceStub + extends io.grpc.stub.AbstractStub
+ * Lists profiles by filter. The order is unspecified. + *+ */ + public void listProfiles( + com.google.cloud.talent.v4beta1.ListProfilesRequest request, + io.grpc.stub.StreamObserver
+ * Creates and returns a new profile. + *+ */ + public void createProfile( + com.google.cloud.talent.v4beta1.CreateProfileRequest request, + io.grpc.stub.StreamObserver
+ * Gets the specified profile. + *+ */ + public void getProfile( + com.google.cloud.talent.v4beta1.GetProfileRequest request, + io.grpc.stub.StreamObserver
+ * Updates the specified profile and returns the updated result. + *+ */ + public void updateProfile( + com.google.cloud.talent.v4beta1.UpdateProfileRequest request, + io.grpc.stub.StreamObserver
+ * Deletes the specified profile. + *+ */ + public void deleteProfile( + com.google.cloud.talent.v4beta1.DeleteProfileRequest request, + io.grpc.stub.StreamObserver
+ * Searches for profiles within a tenant. + * For example, search by raw queries "software engineer in Mountain View" or + * search by structured filters (location filter, education filter, etc.). + * See + * [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] + * for more information. + *+ */ + public void searchProfiles( + com.google.cloud.talent.v4beta1.SearchProfilesRequest request, + io.grpc.stub.StreamObserver
+ * A service that handles profile management, including profile CRUD, + * enumeration and search. + *+ */ + public static final class ProfileServiceBlockingStub + extends io.grpc.stub.AbstractStub
+ * Lists profiles by filter. The order is unspecified. + *+ */ + public com.google.cloud.talent.v4beta1.ListProfilesResponse listProfiles( + com.google.cloud.talent.v4beta1.ListProfilesRequest request) { + return blockingUnaryCall( + getChannel(), getListProfilesMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Creates and returns a new profile. + *+ */ + public com.google.cloud.talent.v4beta1.Profile createProfile( + com.google.cloud.talent.v4beta1.CreateProfileRequest request) { + return blockingUnaryCall( + getChannel(), getCreateProfileMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Gets the specified profile. + *+ */ + public com.google.cloud.talent.v4beta1.Profile getProfile( + com.google.cloud.talent.v4beta1.GetProfileRequest request) { + return blockingUnaryCall( + getChannel(), getGetProfileMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Updates the specified profile and returns the updated result. + *+ */ + public com.google.cloud.talent.v4beta1.Profile updateProfile( + com.google.cloud.talent.v4beta1.UpdateProfileRequest request) { + return blockingUnaryCall( + getChannel(), getUpdateProfileMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Deletes the specified profile. + *+ */ + public com.google.protobuf.Empty deleteProfile( + com.google.cloud.talent.v4beta1.DeleteProfileRequest request) { + return blockingUnaryCall( + getChannel(), getDeleteProfileMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Searches for profiles within a tenant. + * For example, search by raw queries "software engineer in Mountain View" or + * search by structured filters (location filter, education filter, etc.). + * See + * [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] + * for more information. + *+ */ + public com.google.cloud.talent.v4beta1.SearchProfilesResponse searchProfiles( + com.google.cloud.talent.v4beta1.SearchProfilesRequest request) { + return blockingUnaryCall( + getChannel(), getSearchProfilesMethodHelper(), getCallOptions(), request); + } + } + + /** + * + * + *
+ * A service that handles profile management, including profile CRUD, + * enumeration and search. + *+ */ + public static final class ProfileServiceFutureStub + extends io.grpc.stub.AbstractStub
+ * Lists profiles by filter. The order is unspecified. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.ListProfilesResponse> + listProfiles(com.google.cloud.talent.v4beta1.ListProfilesRequest request) { + return futureUnaryCall( + getChannel().newCall(getListProfilesMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+ * Creates and returns a new profile. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Profile> + createProfile(com.google.cloud.talent.v4beta1.CreateProfileRequest request) { + return futureUnaryCall( + getChannel().newCall(getCreateProfileMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+ * Gets the specified profile. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Profile> + getProfile(com.google.cloud.talent.v4beta1.GetProfileRequest request) { + return futureUnaryCall( + getChannel().newCall(getGetProfileMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+ * Updates the specified profile and returns the updated result. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Profile> + updateProfile(com.google.cloud.talent.v4beta1.UpdateProfileRequest request) { + return futureUnaryCall( + getChannel().newCall(getUpdateProfileMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+ * Deletes the specified profile. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Searches for profiles within a tenant. + * For example, search by raw queries "software engineer in Mountain View" or + * search by structured filters (location filter, education filter, etc.). + * See + * [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] + * for more information. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.SearchProfilesResponse> + searchProfiles(com.google.cloud.talent.v4beta1.SearchProfilesRequest request) { + return futureUnaryCall( + getChannel().newCall(getSearchProfilesMethodHelper(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_PROFILES = 0; + private static final int METHODID_CREATE_PROFILE = 1; + private static final int METHODID_GET_PROFILE = 2; + private static final int METHODID_UPDATE_PROFILE = 3; + private static final int METHODID_DELETE_PROFILE = 4; + private static final int METHODID_SEARCH_PROFILES = 5; + + private static final class MethodHandlers
+ * A service that handles resume parsing. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/talent/v4beta1/resume_service.proto") +public final class ResumeServiceGrpc { + + private ResumeServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.ResumeService"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getParseResumeMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ParseResumeRequest, + com.google.cloud.talent.v4beta1.ParseResumeResponse> + METHOD_PARSE_RESUME = getParseResumeMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ParseResumeRequest, + com.google.cloud.talent.v4beta1.ParseResumeResponse> + getParseResumeMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ParseResumeRequest, + com.google.cloud.talent.v4beta1.ParseResumeResponse> + getParseResumeMethod() { + return getParseResumeMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ParseResumeRequest, + com.google.cloud.talent.v4beta1.ParseResumeResponse> + getParseResumeMethodHelper() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ParseResumeRequest, + com.google.cloud.talent.v4beta1.ParseResumeResponse> + getParseResumeMethod; + if ((getParseResumeMethod = ResumeServiceGrpc.getParseResumeMethod) == null) { + synchronized (ResumeServiceGrpc.class) { + if ((getParseResumeMethod = ResumeServiceGrpc.getParseResumeMethod) == null) { + ResumeServiceGrpc.getParseResumeMethod = + getParseResumeMethod = + io.grpc.MethodDescriptor + .
+ * A service that handles resume parsing. + *+ */ + public abstract static class ResumeServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+ * Parses a resume into a [Profile][google.cloud.talent.v4beta1.Profile]. The + * API attempts to fill out the following profile fields if present within the + * resume: + * * personNames + * * addresses + * * emailAddress + * * phoneNumbers + * * personalUris + * * employmentRecords + * * educationRecords + * * skills + * Note that some attributes in these fields may not be populated if they're + * not present within the resume or unrecognizable by the resume parser. + * This API does not save the resume or profile. To create a profile from this + * resume, clients need to call the CreateProfile method again with the + * profile returned. + * The following list of formats are supported: + * * PDF + * * TXT + * * DOC + * * RTF + * * DOCX + * * PNG (only when [ParseResumeRequest.enable_ocr][] is set to `true`, + * otherwise an error is thrown) + *+ */ + public void parseResume( + com.google.cloud.talent.v4beta1.ParseResumeRequest request, + io.grpc.stub.StreamObserver
+ * A service that handles resume parsing. + *+ */ + public static final class ResumeServiceStub extends io.grpc.stub.AbstractStub
+ * Parses a resume into a [Profile][google.cloud.talent.v4beta1.Profile]. The + * API attempts to fill out the following profile fields if present within the + * resume: + * * personNames + * * addresses + * * emailAddress + * * phoneNumbers + * * personalUris + * * employmentRecords + * * educationRecords + * * skills + * Note that some attributes in these fields may not be populated if they're + * not present within the resume or unrecognizable by the resume parser. + * This API does not save the resume or profile. To create a profile from this + * resume, clients need to call the CreateProfile method again with the + * profile returned. + * The following list of formats are supported: + * * PDF + * * TXT + * * DOC + * * RTF + * * DOCX + * * PNG (only when [ParseResumeRequest.enable_ocr][] is set to `true`, + * otherwise an error is thrown) + *+ */ + public void parseResume( + com.google.cloud.talent.v4beta1.ParseResumeRequest request, + io.grpc.stub.StreamObserver
+ * A service that handles resume parsing. + *+ */ + public static final class ResumeServiceBlockingStub + extends io.grpc.stub.AbstractStub
+ * Parses a resume into a [Profile][google.cloud.talent.v4beta1.Profile]. The + * API attempts to fill out the following profile fields if present within the + * resume: + * * personNames + * * addresses + * * emailAddress + * * phoneNumbers + * * personalUris + * * employmentRecords + * * educationRecords + * * skills + * Note that some attributes in these fields may not be populated if they're + * not present within the resume or unrecognizable by the resume parser. + * This API does not save the resume or profile. To create a profile from this + * resume, clients need to call the CreateProfile method again with the + * profile returned. + * The following list of formats are supported: + * * PDF + * * TXT + * * DOC + * * RTF + * * DOCX + * * PNG (only when [ParseResumeRequest.enable_ocr][] is set to `true`, + * otherwise an error is thrown) + *+ */ + public com.google.cloud.talent.v4beta1.ParseResumeResponse parseResume( + com.google.cloud.talent.v4beta1.ParseResumeRequest request) { + return blockingUnaryCall( + getChannel(), getParseResumeMethodHelper(), getCallOptions(), request); + } + } + + /** + * + * + *
+ * A service that handles resume parsing. + *+ */ + public static final class ResumeServiceFutureStub + extends io.grpc.stub.AbstractStub
+ * Parses a resume into a [Profile][google.cloud.talent.v4beta1.Profile]. The + * API attempts to fill out the following profile fields if present within the + * resume: + * * personNames + * * addresses + * * emailAddress + * * phoneNumbers + * * personalUris + * * employmentRecords + * * educationRecords + * * skills + * Note that some attributes in these fields may not be populated if they're + * not present within the resume or unrecognizable by the resume parser. + * This API does not save the resume or profile. To create a profile from this + * resume, clients need to call the CreateProfile method again with the + * profile returned. + * The following list of formats are supported: + * * PDF + * * TXT + * * DOC + * * RTF + * * DOCX + * * PNG (only when [ParseResumeRequest.enable_ocr][] is set to `true`, + * otherwise an error is thrown) + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.ParseResumeResponse> + parseResume(com.google.cloud.talent.v4beta1.ParseResumeRequest request) { + return futureUnaryCall( + getChannel().newCall(getParseResumeMethodHelper(), getCallOptions()), request); + } + } + + private static final int METHODID_PARSE_RESUME = 0; + + private static final class MethodHandlers
+ * A service that handles tenant management, including CRUD and enumeration. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/talent/v4beta1/tenant_service.proto") +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. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getCreateTenantMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + METHOD_CREATE_TENANT = getCreateTenantMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getCreateTenantMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getCreateTenantMethod() { + return getCreateTenantMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getCreateTenantMethodHelper() { + 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 + .
+ * 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
+ * Retrieves specified tenant. + *+ */ + public void getTenant( + com.google.cloud.talent.v4beta1.GetTenantRequest request, + io.grpc.stub.StreamObserver
+ * Updates specified tenant. + *+ */ + public void updateTenant( + com.google.cloud.talent.v4beta1.UpdateTenantRequest request, + io.grpc.stub.StreamObserver
+ * Deletes specified tenant. + *+ */ + public void deleteTenant( + com.google.cloud.talent.v4beta1.DeleteTenantRequest request, + io.grpc.stub.StreamObserver
+ * Lists all tenants associated with the project. + *+ */ + public void listTenants( + com.google.cloud.talent.v4beta1.ListTenantsRequest request, + io.grpc.stub.StreamObserver
+ * A service that handles tenant management, including CRUD and enumeration. + *+ */ + public static final class TenantServiceStub extends io.grpc.stub.AbstractStub
+ * Creates a new tenant entity. + *+ */ + public void createTenant( + com.google.cloud.talent.v4beta1.CreateTenantRequest request, + io.grpc.stub.StreamObserver
+ * Retrieves specified tenant. + *+ */ + public void getTenant( + com.google.cloud.talent.v4beta1.GetTenantRequest request, + io.grpc.stub.StreamObserver
+ * Updates specified tenant. + *+ */ + public void updateTenant( + com.google.cloud.talent.v4beta1.UpdateTenantRequest request, + io.grpc.stub.StreamObserver
+ * Deletes specified tenant. + *+ */ + public void deleteTenant( + com.google.cloud.talent.v4beta1.DeleteTenantRequest request, + io.grpc.stub.StreamObserver
+ * Lists all tenants associated with the project. + *+ */ + public void listTenants( + com.google.cloud.talent.v4beta1.ListTenantsRequest request, + io.grpc.stub.StreamObserver
+ * A service that handles tenant management, including CRUD and enumeration. + *+ */ + public static final class TenantServiceBlockingStub + extends io.grpc.stub.AbstractStub
+ * Creates a new tenant entity. + *+ */ + public com.google.cloud.talent.v4beta1.Tenant createTenant( + com.google.cloud.talent.v4beta1.CreateTenantRequest request) { + return blockingUnaryCall( + getChannel(), getCreateTenantMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Retrieves specified tenant. + *+ */ + public com.google.cloud.talent.v4beta1.Tenant getTenant( + com.google.cloud.talent.v4beta1.GetTenantRequest request) { + return blockingUnaryCall(getChannel(), getGetTenantMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Updates specified tenant. + *+ */ + public com.google.cloud.talent.v4beta1.Tenant updateTenant( + com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { + return blockingUnaryCall( + getChannel(), getUpdateTenantMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Deletes specified tenant. + *+ */ + public com.google.protobuf.Empty deleteTenant( + com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { + return blockingUnaryCall( + getChannel(), getDeleteTenantMethodHelper(), 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 blockingUnaryCall( + getChannel(), getListTenantsMethodHelper(), getCallOptions(), request); + } + } + + /** + * + * + *
+ * A service that handles tenant management, including CRUD and enumeration. + *+ */ + public static final class TenantServiceFutureStub + extends io.grpc.stub.AbstractStub
+ * 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 futureUnaryCall( + getChannel().newCall(getCreateTenantMethodHelper(), 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 futureUnaryCall( + getChannel().newCall(getGetTenantMethodHelper(), 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 futureUnaryCall( + getChannel().newCall(getUpdateTenantMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+ * Deletes specified tenant. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * 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 futureUnaryCall( + getChannel().newCall(getListTenantsMethodHelper(), 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
+ * Resource that represents an individual or collaborative activity participated + * in by a candidate, for example, an open-source project, a class assignment, + * etc. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.Activity} + */ +public final class Activity extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Activity) + ActivityOrBuilder { + private static final long serialVersionUID = 0L; + // Use Activity.newBuilder() to construct. + private Activity(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private Activity() { + displayName_ = ""; + description_ = ""; + uri_ = ""; + teamMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + skillsUsed_ = java.util.Collections.emptyList(); + activityNameSnippet_ = ""; + activityDescriptionSnippet_ = ""; + skillsUsedSnippet_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Activity( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + uri_ = s; + break; + } + case 34: + { + com.google.type.Date.Builder subBuilder = null; + if (createDate_ != null) { + subBuilder = createDate_.toBuilder(); + } + createDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createDate_); + createDate_ = subBuilder.buildPartial(); + } + + break; + } + case 42: + { + com.google.type.Date.Builder subBuilder = null; + if (updateDate_ != null) { + subBuilder = updateDate_.toBuilder(); + } + updateDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateDate_); + updateDate_ = subBuilder.buildPartial(); + } + + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + teamMembers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000020; + } + teamMembers_.add(s); + break; + } + case 58: + { + if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + skillsUsed_ = new java.util.ArrayList
+ * Optional. + * Activity display name. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity display name. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ 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);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DESCRIPTION_FIELD_NUMBER = 2;
+ private volatile java.lang.Object description_;
+ /**
+ *
+ *
+ * + * Optional. + * Activity description. + * Number of characters allowed is 100,000. + *+ * + *
string description = 2;
+ */
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity description. + * Number of characters allowed is 100,000. + *+ * + *
string description = 2;
+ */
+ 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);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int URI_FIELD_NUMBER = 3;
+ private volatile java.lang.Object uri_;
+ /**
+ *
+ *
+ * + * Optional. + * Activity URI. + * Number of characters allowed is 4,000. + *+ * + *
string uri = 3;
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity URI. + * Number of characters allowed is 4,000. + *+ * + *
string uri = 3;
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CREATE_DATE_FIELD_NUMBER = 4;
+ private com.google.type.Date createDate_;
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ public boolean hasCreateDate() {
+ return createDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ public com.google.type.Date getCreateDate() {
+ return createDate_ == null ? com.google.type.Date.getDefaultInstance() : createDate_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ public com.google.type.DateOrBuilder getCreateDateOrBuilder() {
+ return getCreateDate();
+ }
+
+ public static final int UPDATE_DATE_FIELD_NUMBER = 5;
+ private com.google.type.Date updateDate_;
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ public boolean hasUpdateDate() {
+ return updateDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ public com.google.type.Date getUpdateDate() {
+ return updateDate_ == null ? com.google.type.Date.getDefaultInstance() : updateDate_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ public com.google.type.DateOrBuilder getUpdateDateOrBuilder() {
+ return getUpdateDate();
+ }
+
+ public static final int TEAM_MEMBERS_FIELD_NUMBER = 6;
+ private com.google.protobuf.LazyStringList teamMembers_;
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public com.google.protobuf.ProtocolStringList getTeamMembersList() {
+ return teamMembers_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public int getTeamMembersCount() {
+ return teamMembers_.size();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public java.lang.String getTeamMembers(int index) {
+ return teamMembers_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public com.google.protobuf.ByteString getTeamMembersBytes(int index) {
+ return teamMembers_.getByteString(index);
+ }
+
+ public static final int SKILLS_USED_FIELD_NUMBER = 7;
+ private java.util.List+ * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public java.util.List+ * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public java.util.List extends com.google.cloud.talent.v4beta1.SkillOrBuilder>
+ getSkillsUsedOrBuilderList() {
+ return skillsUsed_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public int getSkillsUsedCount() {
+ return skillsUsed_.size();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public com.google.cloud.talent.v4beta1.Skill getSkillsUsed(int index) {
+ return skillsUsed_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public com.google.cloud.talent.v4beta1.SkillOrBuilder getSkillsUsedOrBuilder(int index) {
+ return skillsUsed_.get(index);
+ }
+
+ public static final int ACTIVITY_NAME_SNIPPET_FIELD_NUMBER = 8;
+ private volatile java.lang.Object activityNameSnippet_;
+ /**
+ *
+ *
+ * + * Output only. Activity name snippet shows how the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] is + * related to a search query. It's empty if the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] isn't + * related to the search query. + *+ * + *
string activity_name_snippet = 8;
+ */
+ public java.lang.String getActivityNameSnippet() {
+ java.lang.Object ref = activityNameSnippet_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ activityNameSnippet_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Activity name snippet shows how the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] is + * related to a search query. It's empty if the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] isn't + * related to the search query. + *+ * + *
string activity_name_snippet = 8;
+ */
+ public com.google.protobuf.ByteString getActivityNameSnippetBytes() {
+ java.lang.Object ref = activityNameSnippet_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ activityNameSnippet_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ACTIVITY_DESCRIPTION_SNIPPET_FIELD_NUMBER = 9;
+ private volatile java.lang.Object activityDescriptionSnippet_;
+ /**
+ *
+ *
+ * + * Output only. Activity description snippet shows how the + * [description][google.cloud.talent.v4beta1.Activity.description] is related + * to a search query. It's empty if the + * [description][google.cloud.talent.v4beta1.Activity.description] isn't + * related to the search query. + *+ * + *
string activity_description_snippet = 9;
+ */
+ public java.lang.String getActivityDescriptionSnippet() {
+ java.lang.Object ref = activityDescriptionSnippet_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ activityDescriptionSnippet_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Activity description snippet shows how the + * [description][google.cloud.talent.v4beta1.Activity.description] is related + * to a search query. It's empty if the + * [description][google.cloud.talent.v4beta1.Activity.description] isn't + * related to the search query. + *+ * + *
string activity_description_snippet = 9;
+ */
+ public com.google.protobuf.ByteString getActivityDescriptionSnippetBytes() {
+ java.lang.Object ref = activityDescriptionSnippet_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ activityDescriptionSnippet_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SKILLS_USED_SNIPPET_FIELD_NUMBER = 10;
+ private com.google.protobuf.LazyStringList skillsUsedSnippet_;
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public com.google.protobuf.ProtocolStringList getSkillsUsedSnippetList() {
+ return skillsUsedSnippet_;
+ }
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public int getSkillsUsedSnippetCount() {
+ return skillsUsedSnippet_.size();
+ }
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public java.lang.String getSkillsUsedSnippet(int index) {
+ return skillsUsedSnippet_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public com.google.protobuf.ByteString getSkillsUsedSnippetBytes(int index) {
+ return skillsUsedSnippet_.getByteString(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getDisplayNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_);
+ }
+ if (!getDescriptionBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
+ }
+ if (!getUriBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uri_);
+ }
+ if (createDate_ != null) {
+ output.writeMessage(4, getCreateDate());
+ }
+ if (updateDate_ != null) {
+ output.writeMessage(5, getUpdateDate());
+ }
+ for (int i = 0; i < teamMembers_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, teamMembers_.getRaw(i));
+ }
+ for (int i = 0; i < skillsUsed_.size(); i++) {
+ output.writeMessage(7, skillsUsed_.get(i));
+ }
+ if (!getActivityNameSnippetBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, activityNameSnippet_);
+ }
+ if (!getActivityDescriptionSnippetBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, activityDescriptionSnippet_);
+ }
+ for (int i = 0; i < skillsUsedSnippet_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, skillsUsedSnippet_.getRaw(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getDisplayNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_);
+ }
+ if (!getDescriptionBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
+ }
+ if (!getUriBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uri_);
+ }
+ if (createDate_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateDate());
+ }
+ if (updateDate_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateDate());
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < teamMembers_.size(); i++) {
+ dataSize += computeStringSizeNoTag(teamMembers_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getTeamMembersList().size();
+ }
+ for (int i = 0; i < skillsUsed_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, skillsUsed_.get(i));
+ }
+ if (!getActivityNameSnippetBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, activityNameSnippet_);
+ }
+ if (!getActivityDescriptionSnippetBytes().isEmpty()) {
+ size +=
+ com.google.protobuf.GeneratedMessageV3.computeStringSize(9, activityDescriptionSnippet_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < skillsUsedSnippet_.size(); i++) {
+ dataSize += computeStringSizeNoTag(skillsUsedSnippet_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getSkillsUsedSnippetList().size();
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.talent.v4beta1.Activity)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.Activity other = (com.google.cloud.talent.v4beta1.Activity) obj;
+
+ boolean result = true;
+ result = result && getDisplayName().equals(other.getDisplayName());
+ result = result && getDescription().equals(other.getDescription());
+ result = result && getUri().equals(other.getUri());
+ result = result && (hasCreateDate() == other.hasCreateDate());
+ if (hasCreateDate()) {
+ result = result && getCreateDate().equals(other.getCreateDate());
+ }
+ result = result && (hasUpdateDate() == other.hasUpdateDate());
+ if (hasUpdateDate()) {
+ result = result && getUpdateDate().equals(other.getUpdateDate());
+ }
+ result = result && getTeamMembersList().equals(other.getTeamMembersList());
+ result = result && getSkillsUsedList().equals(other.getSkillsUsedList());
+ result = result && getActivityNameSnippet().equals(other.getActivityNameSnippet());
+ result =
+ result && getActivityDescriptionSnippet().equals(other.getActivityDescriptionSnippet());
+ result = result && getSkillsUsedSnippetList().equals(other.getSkillsUsedSnippetList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayName().hashCode();
+ hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getDescription().hashCode();
+ hash = (37 * hash) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ if (hasCreateDate()) {
+ hash = (37 * hash) + CREATE_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + getCreateDate().hashCode();
+ }
+ if (hasUpdateDate()) {
+ hash = (37 * hash) + UPDATE_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + getUpdateDate().hashCode();
+ }
+ if (getTeamMembersCount() > 0) {
+ hash = (37 * hash) + TEAM_MEMBERS_FIELD_NUMBER;
+ hash = (53 * hash) + getTeamMembersList().hashCode();
+ }
+ if (getSkillsUsedCount() > 0) {
+ hash = (37 * hash) + SKILLS_USED_FIELD_NUMBER;
+ hash = (53 * hash) + getSkillsUsedList().hashCode();
+ }
+ hash = (37 * hash) + ACTIVITY_NAME_SNIPPET_FIELD_NUMBER;
+ hash = (53 * hash) + getActivityNameSnippet().hashCode();
+ hash = (37 * hash) + ACTIVITY_DESCRIPTION_SNIPPET_FIELD_NUMBER;
+ hash = (53 * hash) + getActivityDescriptionSnippet().hashCode();
+ if (getSkillsUsedSnippetCount() > 0) {
+ hash = (37 * hash) + SKILLS_USED_SNIPPET_FIELD_NUMBER;
+ hash = (53 * hash) + getSkillsUsedSnippetList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.Activity parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Activity parseFrom(
+ java.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.Activity parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Activity parseFrom(
+ com.google.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.Activity parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Activity parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Activity parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Activity parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Activity parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Activity 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.Activity parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Activity parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.cloud.talent.v4beta1.Activity prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Resource that represents an individual or collaborative activity participated + * in by a candidate, for example, an open-source project, a class assignment, + * etc. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.Activity} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. + * Activity display name. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ 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;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity display name. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ 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);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity display name. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ public Builder setDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ displayName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity display name. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ public Builder clearDisplayName() {
+
+ displayName_ = getDefaultInstance().getDisplayName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity display name. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ displayName_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object description_ = "";
+ /**
+ *
+ *
+ * + * Optional. + * Activity description. + * Number of characters allowed is 100,000. + *+ * + *
string description = 2;
+ */
+ 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;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity description. + * Number of characters allowed is 100,000. + *+ * + *
string description = 2;
+ */
+ 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);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity description. + * Number of characters allowed is 100,000. + *+ * + *
string description = 2;
+ */
+ public Builder setDescription(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ description_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity description. + * Number of characters allowed is 100,000. + *+ * + *
string description = 2;
+ */
+ public Builder clearDescription() {
+
+ description_ = getDefaultInstance().getDescription();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity description. + * Number of characters allowed is 100,000. + *+ * + *
string description = 2;
+ */
+ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ description_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object uri_ = "";
+ /**
+ *
+ *
+ * + * Optional. + * Activity URI. + * Number of characters allowed is 4,000. + *+ * + *
string uri = 3;
+ */
+ public java.lang.String getUri() {
+ java.lang.Object ref = uri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity URI. + * Number of characters allowed is 4,000. + *+ * + *
string uri = 3;
+ */
+ public com.google.protobuf.ByteString getUriBytes() {
+ java.lang.Object ref = uri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity URI. + * Number of characters allowed is 4,000. + *+ * + *
string uri = 3;
+ */
+ public Builder setUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ uri_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity URI. + * Number of characters allowed is 4,000. + *+ * + *
string uri = 3;
+ */
+ public Builder clearUri() {
+
+ uri_ = getDefaultInstance().getUri();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Activity URI. + * Number of characters allowed is 4,000. + *+ * + *
string uri = 3;
+ */
+ public Builder setUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ uri_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.type.Date createDate_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ createDateBuilder_;
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ public boolean hasCreateDate() {
+ return createDateBuilder_ != null || createDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ public com.google.type.Date getCreateDate() {
+ if (createDateBuilder_ == null) {
+ return createDate_ == null ? com.google.type.Date.getDefaultInstance() : createDate_;
+ } else {
+ return createDateBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ public Builder setCreateDate(com.google.type.Date value) {
+ if (createDateBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ createDate_ = value;
+ onChanged();
+ } else {
+ createDateBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ public Builder setCreateDate(com.google.type.Date.Builder builderForValue) {
+ if (createDateBuilder_ == null) {
+ createDate_ = builderForValue.build();
+ onChanged();
+ } else {
+ createDateBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ public Builder mergeCreateDate(com.google.type.Date value) {
+ if (createDateBuilder_ == null) {
+ if (createDate_ != null) {
+ createDate_ =
+ com.google.type.Date.newBuilder(createDate_).mergeFrom(value).buildPartial();
+ } else {
+ createDate_ = value;
+ }
+ onChanged();
+ } else {
+ createDateBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ public Builder clearCreateDate() {
+ if (createDateBuilder_ == null) {
+ createDate_ = null;
+ onChanged();
+ } else {
+ createDate_ = null;
+ createDateBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ public com.google.type.Date.Builder getCreateDateBuilder() {
+
+ onChanged();
+ return getCreateDateFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ public com.google.type.DateOrBuilder getCreateDateOrBuilder() {
+ if (createDateBuilder_ != null) {
+ return createDateBuilder_.getMessageOrBuilder();
+ } else {
+ return createDate_ == null ? com.google.type.Date.getDefaultInstance() : createDate_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ getCreateDateFieldBuilder() {
+ if (createDateBuilder_ == null) {
+ createDateBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+ getCreateDate(), getParentForChildren(), isClean());
+ createDate_ = null;
+ }
+ return createDateBuilder_;
+ }
+
+ private com.google.type.Date updateDate_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ updateDateBuilder_;
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ public boolean hasUpdateDate() {
+ return updateDateBuilder_ != null || updateDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ public com.google.type.Date getUpdateDate() {
+ if (updateDateBuilder_ == null) {
+ return updateDate_ == null ? com.google.type.Date.getDefaultInstance() : updateDate_;
+ } else {
+ return updateDateBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ public Builder setUpdateDate(com.google.type.Date value) {
+ if (updateDateBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ updateDate_ = value;
+ onChanged();
+ } else {
+ updateDateBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ public Builder setUpdateDate(com.google.type.Date.Builder builderForValue) {
+ if (updateDateBuilder_ == null) {
+ updateDate_ = builderForValue.build();
+ onChanged();
+ } else {
+ updateDateBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ public Builder mergeUpdateDate(com.google.type.Date value) {
+ if (updateDateBuilder_ == null) {
+ if (updateDate_ != null) {
+ updateDate_ =
+ com.google.type.Date.newBuilder(updateDate_).mergeFrom(value).buildPartial();
+ } else {
+ updateDate_ = value;
+ }
+ onChanged();
+ } else {
+ updateDateBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ public Builder clearUpdateDate() {
+ if (updateDateBuilder_ == null) {
+ updateDate_ = null;
+ onChanged();
+ } else {
+ updateDate_ = null;
+ updateDateBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ public com.google.type.Date.Builder getUpdateDateBuilder() {
+
+ onChanged();
+ return getUpdateDateFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ public com.google.type.DateOrBuilder getUpdateDateOrBuilder() {
+ if (updateDateBuilder_ != null) {
+ return updateDateBuilder_.getMessageOrBuilder();
+ } else {
+ return updateDate_ == null ? com.google.type.Date.getDefaultInstance() : updateDate_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ getUpdateDateFieldBuilder() {
+ if (updateDateBuilder_ == null) {
+ updateDateBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+ getUpdateDate(), getParentForChildren(), isClean());
+ updateDate_ = null;
+ }
+ return updateDateBuilder_;
+ }
+
+ private com.google.protobuf.LazyStringList teamMembers_ =
+ com.google.protobuf.LazyStringArrayList.EMPTY;
+
+ private void ensureTeamMembersIsMutable() {
+ if (!((bitField0_ & 0x00000020) == 0x00000020)) {
+ teamMembers_ = new com.google.protobuf.LazyStringArrayList(teamMembers_);
+ bitField0_ |= 0x00000020;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public com.google.protobuf.ProtocolStringList getTeamMembersList() {
+ return teamMembers_.getUnmodifiableView();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public int getTeamMembersCount() {
+ return teamMembers_.size();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public java.lang.String getTeamMembers(int index) {
+ return teamMembers_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public com.google.protobuf.ByteString getTeamMembersBytes(int index) {
+ return teamMembers_.getByteString(index);
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public Builder setTeamMembers(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTeamMembersIsMutable();
+ teamMembers_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public Builder addTeamMembers(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTeamMembersIsMutable();
+ teamMembers_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public Builder addAllTeamMembers(java.lang.Iterable+ * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public Builder clearTeamMembers() {
+ teamMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ public Builder addTeamMembersBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureTeamMembersIsMutable();
+ teamMembers_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private java.util.List+ * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public java.util.List+ * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public int getSkillsUsedCount() {
+ if (skillsUsedBuilder_ == null) {
+ return skillsUsed_.size();
+ } else {
+ return skillsUsedBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public com.google.cloud.talent.v4beta1.Skill getSkillsUsed(int index) {
+ if (skillsUsedBuilder_ == null) {
+ return skillsUsed_.get(index);
+ } else {
+ return skillsUsedBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public Builder setSkillsUsed(int index, com.google.cloud.talent.v4beta1.Skill value) {
+ if (skillsUsedBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSkillsUsedIsMutable();
+ skillsUsed_.set(index, value);
+ onChanged();
+ } else {
+ skillsUsedBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public Builder setSkillsUsed(
+ int index, com.google.cloud.talent.v4beta1.Skill.Builder builderForValue) {
+ if (skillsUsedBuilder_ == null) {
+ ensureSkillsUsedIsMutable();
+ skillsUsed_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ skillsUsedBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public Builder addSkillsUsed(com.google.cloud.talent.v4beta1.Skill value) {
+ if (skillsUsedBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSkillsUsedIsMutable();
+ skillsUsed_.add(value);
+ onChanged();
+ } else {
+ skillsUsedBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public Builder addSkillsUsed(int index, com.google.cloud.talent.v4beta1.Skill value) {
+ if (skillsUsedBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSkillsUsedIsMutable();
+ skillsUsed_.add(index, value);
+ onChanged();
+ } else {
+ skillsUsedBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public Builder addSkillsUsed(com.google.cloud.talent.v4beta1.Skill.Builder builderForValue) {
+ if (skillsUsedBuilder_ == null) {
+ ensureSkillsUsedIsMutable();
+ skillsUsed_.add(builderForValue.build());
+ onChanged();
+ } else {
+ skillsUsedBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public Builder addSkillsUsed(
+ int index, com.google.cloud.talent.v4beta1.Skill.Builder builderForValue) {
+ if (skillsUsedBuilder_ == null) {
+ ensureSkillsUsedIsMutable();
+ skillsUsed_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ skillsUsedBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public Builder addAllSkillsUsed(
+ java.lang.Iterable extends com.google.cloud.talent.v4beta1.Skill> values) {
+ if (skillsUsedBuilder_ == null) {
+ ensureSkillsUsedIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, skillsUsed_);
+ onChanged();
+ } else {
+ skillsUsedBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public Builder clearSkillsUsed() {
+ if (skillsUsedBuilder_ == null) {
+ skillsUsed_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000040);
+ onChanged();
+ } else {
+ skillsUsedBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public Builder removeSkillsUsed(int index) {
+ if (skillsUsedBuilder_ == null) {
+ ensureSkillsUsedIsMutable();
+ skillsUsed_.remove(index);
+ onChanged();
+ } else {
+ skillsUsedBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public com.google.cloud.talent.v4beta1.Skill.Builder getSkillsUsedBuilder(int index) {
+ return getSkillsUsedFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public com.google.cloud.talent.v4beta1.SkillOrBuilder getSkillsUsedOrBuilder(int index) {
+ if (skillsUsedBuilder_ == null) {
+ return skillsUsed_.get(index);
+ } else {
+ return skillsUsedBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public java.util.List extends com.google.cloud.talent.v4beta1.SkillOrBuilder>
+ getSkillsUsedOrBuilderList() {
+ if (skillsUsedBuilder_ != null) {
+ return skillsUsedBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(skillsUsed_);
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public com.google.cloud.talent.v4beta1.Skill.Builder addSkillsUsedBuilder() {
+ return getSkillsUsedFieldBuilder()
+ .addBuilder(com.google.cloud.talent.v4beta1.Skill.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public com.google.cloud.talent.v4beta1.Skill.Builder addSkillsUsedBuilder(int index) {
+ return getSkillsUsedFieldBuilder()
+ .addBuilder(index, com.google.cloud.talent.v4beta1.Skill.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ public java.util.List+ * Output only. Activity name snippet shows how the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] is + * related to a search query. It's empty if the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] isn't + * related to the search query. + *+ * + *
string activity_name_snippet = 8;
+ */
+ public java.lang.String getActivityNameSnippet() {
+ java.lang.Object ref = activityNameSnippet_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ activityNameSnippet_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Activity name snippet shows how the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] is + * related to a search query. It's empty if the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] isn't + * related to the search query. + *+ * + *
string activity_name_snippet = 8;
+ */
+ public com.google.protobuf.ByteString getActivityNameSnippetBytes() {
+ java.lang.Object ref = activityNameSnippet_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ activityNameSnippet_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Activity name snippet shows how the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] is + * related to a search query. It's empty if the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] isn't + * related to the search query. + *+ * + *
string activity_name_snippet = 8;
+ */
+ public Builder setActivityNameSnippet(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ activityNameSnippet_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Activity name snippet shows how the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] is + * related to a search query. It's empty if the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] isn't + * related to the search query. + *+ * + *
string activity_name_snippet = 8;
+ */
+ public Builder clearActivityNameSnippet() {
+
+ activityNameSnippet_ = getDefaultInstance().getActivityNameSnippet();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Activity name snippet shows how the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] is + * related to a search query. It's empty if the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] isn't + * related to the search query. + *+ * + *
string activity_name_snippet = 8;
+ */
+ public Builder setActivityNameSnippetBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ activityNameSnippet_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object activityDescriptionSnippet_ = "";
+ /**
+ *
+ *
+ * + * Output only. Activity description snippet shows how the + * [description][google.cloud.talent.v4beta1.Activity.description] is related + * to a search query. It's empty if the + * [description][google.cloud.talent.v4beta1.Activity.description] isn't + * related to the search query. + *+ * + *
string activity_description_snippet = 9;
+ */
+ public java.lang.String getActivityDescriptionSnippet() {
+ java.lang.Object ref = activityDescriptionSnippet_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ activityDescriptionSnippet_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Activity description snippet shows how the + * [description][google.cloud.talent.v4beta1.Activity.description] is related + * to a search query. It's empty if the + * [description][google.cloud.talent.v4beta1.Activity.description] isn't + * related to the search query. + *+ * + *
string activity_description_snippet = 9;
+ */
+ public com.google.protobuf.ByteString getActivityDescriptionSnippetBytes() {
+ java.lang.Object ref = activityDescriptionSnippet_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ activityDescriptionSnippet_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Activity description snippet shows how the + * [description][google.cloud.talent.v4beta1.Activity.description] is related + * to a search query. It's empty if the + * [description][google.cloud.talent.v4beta1.Activity.description] isn't + * related to the search query. + *+ * + *
string activity_description_snippet = 9;
+ */
+ public Builder setActivityDescriptionSnippet(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ activityDescriptionSnippet_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Activity description snippet shows how the + * [description][google.cloud.talent.v4beta1.Activity.description] is related + * to a search query. It's empty if the + * [description][google.cloud.talent.v4beta1.Activity.description] isn't + * related to the search query. + *+ * + *
string activity_description_snippet = 9;
+ */
+ public Builder clearActivityDescriptionSnippet() {
+
+ activityDescriptionSnippet_ = getDefaultInstance().getActivityDescriptionSnippet();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Activity description snippet shows how the + * [description][google.cloud.talent.v4beta1.Activity.description] is related + * to a search query. It's empty if the + * [description][google.cloud.talent.v4beta1.Activity.description] isn't + * related to the search query. + *+ * + *
string activity_description_snippet = 9;
+ */
+ public Builder setActivityDescriptionSnippetBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ activityDescriptionSnippet_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.LazyStringList skillsUsedSnippet_ =
+ com.google.protobuf.LazyStringArrayList.EMPTY;
+
+ private void ensureSkillsUsedSnippetIsMutable() {
+ if (!((bitField0_ & 0x00000200) == 0x00000200)) {
+ skillsUsedSnippet_ = new com.google.protobuf.LazyStringArrayList(skillsUsedSnippet_);
+ bitField0_ |= 0x00000200;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public com.google.protobuf.ProtocolStringList getSkillsUsedSnippetList() {
+ return skillsUsedSnippet_.getUnmodifiableView();
+ }
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public int getSkillsUsedSnippetCount() {
+ return skillsUsedSnippet_.size();
+ }
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public java.lang.String getSkillsUsedSnippet(int index) {
+ return skillsUsedSnippet_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public com.google.protobuf.ByteString getSkillsUsedSnippetBytes(int index) {
+ return skillsUsedSnippet_.getByteString(index);
+ }
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public Builder setSkillsUsedSnippet(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSkillsUsedSnippetIsMutable();
+ skillsUsedSnippet_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public Builder addSkillsUsedSnippet(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSkillsUsedSnippetIsMutable();
+ skillsUsedSnippet_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public Builder addAllSkillsUsedSnippet(java.lang.Iterable+ * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public Builder clearSkillsUsedSnippet() {
+ skillsUsedSnippet_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000200);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ public Builder addSkillsUsedSnippetBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureSkillsUsedSnippetIsMutable();
+ skillsUsedSnippet_.add(value);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Activity)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Activity)
+ private static final com.google.cloud.talent.v4beta1.Activity DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Activity();
+ }
+
+ public static com.google.cloud.talent.v4beta1.Activity getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Optional. + * Activity display name. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ java.lang.String getDisplayName();
+ /**
+ *
+ *
+ * + * Optional. + * Activity display name. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ com.google.protobuf.ByteString getDisplayNameBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * Activity description. + * Number of characters allowed is 100,000. + *+ * + *
string description = 2;
+ */
+ java.lang.String getDescription();
+ /**
+ *
+ *
+ * + * Optional. + * Activity description. + * Number of characters allowed is 100,000. + *+ * + *
string description = 2;
+ */
+ com.google.protobuf.ByteString getDescriptionBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * Activity URI. + * Number of characters allowed is 4,000. + *+ * + *
string uri = 3;
+ */
+ java.lang.String getUri();
+ /**
+ *
+ *
+ * + * Optional. + * Activity URI. + * Number of characters allowed is 4,000. + *+ * + *
string uri = 3;
+ */
+ com.google.protobuf.ByteString getUriBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ boolean hasCreateDate();
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ com.google.type.Date getCreateDate();
+ /**
+ *
+ *
+ * + * Optional. + * The first creation date of the activity. + *+ * + *
.google.type.Date create_date = 4;
+ */
+ com.google.type.DateOrBuilder getCreateDateOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ boolean hasUpdateDate();
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ com.google.type.Date getUpdateDate();
+ /**
+ *
+ *
+ * + * Optional. + * The last update date of the activity. + *+ * + *
.google.type.Date update_date = 5;
+ */
+ com.google.type.DateOrBuilder getUpdateDateOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ java.util.List+ * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ int getTeamMembersCount();
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ java.lang.String getTeamMembers(int index);
+ /**
+ *
+ *
+ * + * Optional. + * A list of team members involved in this activity. + * Number of characters allowed is 100. + *+ * + *
repeated string team_members = 6;
+ */
+ com.google.protobuf.ByteString getTeamMembersBytes(int index);
+
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ java.util.List+ * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ com.google.cloud.talent.v4beta1.Skill getSkillsUsed(int index);
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ int getSkillsUsedCount();
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ java.util.List extends com.google.cloud.talent.v4beta1.SkillOrBuilder>
+ getSkillsUsedOrBuilderList();
+ /**
+ *
+ *
+ * + * Optional. + * A list of skills used in this activity. + *+ * + *
repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;
+ */
+ com.google.cloud.talent.v4beta1.SkillOrBuilder getSkillsUsedOrBuilder(int index);
+
+ /**
+ *
+ *
+ * + * Output only. Activity name snippet shows how the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] is + * related to a search query. It's empty if the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] isn't + * related to the search query. + *+ * + *
string activity_name_snippet = 8;
+ */
+ java.lang.String getActivityNameSnippet();
+ /**
+ *
+ *
+ * + * Output only. Activity name snippet shows how the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] is + * related to a search query. It's empty if the + * [display_name][google.cloud.talent.v4beta1.Activity.display_name] isn't + * related to the search query. + *+ * + *
string activity_name_snippet = 8;
+ */
+ com.google.protobuf.ByteString getActivityNameSnippetBytes();
+
+ /**
+ *
+ *
+ * + * Output only. Activity description snippet shows how the + * [description][google.cloud.talent.v4beta1.Activity.description] is related + * to a search query. It's empty if the + * [description][google.cloud.talent.v4beta1.Activity.description] isn't + * related to the search query. + *+ * + *
string activity_description_snippet = 9;
+ */
+ java.lang.String getActivityDescriptionSnippet();
+ /**
+ *
+ *
+ * + * Output only. Activity description snippet shows how the + * [description][google.cloud.talent.v4beta1.Activity.description] is related + * to a search query. It's empty if the + * [description][google.cloud.talent.v4beta1.Activity.description] isn't + * related to the search query. + *+ * + *
string activity_description_snippet = 9;
+ */
+ com.google.protobuf.ByteString getActivityDescriptionSnippetBytes();
+
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ java.util.List+ * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ int getSkillsUsedSnippetCount();
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ java.lang.String getSkillsUsedSnippet(int index);
+ /**
+ *
+ *
+ * + * Output only. Skill used snippet shows how the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related + * to a search query. It's empty if the corresponding + * [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not + * related to the search query. + *+ * + *
repeated string skills_used_snippet = 10;
+ */
+ com.google.protobuf.ByteString getSkillsUsedSnippetBytes(int index);
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/AdditionalContactInfo.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/AdditionalContactInfo.java
new file mode 100644
index 000000000000..548ff5329f07
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/AdditionalContactInfo.java
@@ -0,0 +1,940 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/profile.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Resource that represents contact information other than phone, email, + * URI and addresses. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.AdditionalContactInfo} + */ +public final class AdditionalContactInfo extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.AdditionalContactInfo) + AdditionalContactInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use AdditionalContactInfo.newBuilder() to construct. + private AdditionalContactInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AdditionalContactInfo() { + usage_ = 0; + name_ = ""; + contactId_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AdditionalContactInfo( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + usage_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + contactId_ = s; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.ProfileResourceProto + .internal_static_google_cloud_talent_v4beta1_AdditionalContactInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.ProfileResourceProto + .internal_static_google_cloud_talent_v4beta1_AdditionalContactInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.AdditionalContactInfo.class, + com.google.cloud.talent.v4beta1.AdditionalContactInfo.Builder.class); + } + + public static final int USAGE_FIELD_NUMBER = 1; + private int usage_; + /** + * + * + *
+ * Optional. + * The usage of this contact method. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public int getUsageValue() {
+ return usage_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The usage of this contact method. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public com.google.cloud.talent.v4beta1.ContactInfoUsage getUsage() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.ContactInfoUsage result =
+ com.google.cloud.talent.v4beta1.ContactInfoUsage.valueOf(usage_);
+ return result == null ? com.google.cloud.talent.v4beta1.ContactInfoUsage.UNRECOGNIZED : result;
+ }
+
+ public static final int NAME_FIELD_NUMBER = 2;
+ private volatile java.lang.Object name_;
+ /**
+ *
+ *
+ * + * Optional. + * The name of the contact method. + * For example, "hangout", "skype". + * Number of characters allowed is 100. + *+ * + *
string name = 2;
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The name of the contact method. + * For example, "hangout", "skype". + * Number of characters allowed is 100. + *+ * + *
string name = 2;
+ */
+ 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);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CONTACT_ID_FIELD_NUMBER = 3;
+ private volatile java.lang.Object contactId_;
+ /**
+ *
+ *
+ * + * Optional. + * The contact id. + * Number of characters allowed is 100. + *+ * + *
string contact_id = 3;
+ */
+ public java.lang.String getContactId() {
+ java.lang.Object ref = contactId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ contactId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The contact id. + * Number of characters allowed is 100. + *+ * + *
string contact_id = 3;
+ */
+ public com.google.protobuf.ByteString getContactIdBytes() {
+ java.lang.Object ref = contactId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ contactId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (usage_
+ != com.google.cloud.talent.v4beta1.ContactInfoUsage.CONTACT_INFO_USAGE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(1, usage_);
+ }
+ if (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
+ }
+ if (!getContactIdBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, contactId_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (usage_
+ != com.google.cloud.talent.v4beta1.ContactInfoUsage.CONTACT_INFO_USAGE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, usage_);
+ }
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
+ }
+ if (!getContactIdBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, contactId_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.talent.v4beta1.AdditionalContactInfo)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.AdditionalContactInfo other =
+ (com.google.cloud.talent.v4beta1.AdditionalContactInfo) obj;
+
+ boolean result = true;
+ result = result && usage_ == other.usage_;
+ result = result && getName().equals(other.getName());
+ result = result && getContactId().equals(other.getContactId());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + USAGE_FIELD_NUMBER;
+ hash = (53 * hash) + usage_;
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + CONTACT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getContactId().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.AdditionalContactInfo parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.AdditionalContactInfo parseFrom(
+ java.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.AdditionalContactInfo parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.AdditionalContactInfo parseFrom(
+ com.google.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.AdditionalContactInfo parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.AdditionalContactInfo parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.AdditionalContactInfo parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.AdditionalContactInfo parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.AdditionalContactInfo parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.AdditionalContactInfo 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.AdditionalContactInfo parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.AdditionalContactInfo parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.talent.v4beta1.AdditionalContactInfo prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Resource that represents contact information other than phone, email, + * URI and addresses. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.AdditionalContactInfo} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. + * The usage of this contact method. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public int getUsageValue() {
+ return usage_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The usage of this contact method. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public Builder setUsageValue(int value) {
+ usage_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The usage of this contact method. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public com.google.cloud.talent.v4beta1.ContactInfoUsage getUsage() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.ContactInfoUsage result =
+ com.google.cloud.talent.v4beta1.ContactInfoUsage.valueOf(usage_);
+ return result == null
+ ? com.google.cloud.talent.v4beta1.ContactInfoUsage.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The usage of this contact method. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public Builder setUsage(com.google.cloud.talent.v4beta1.ContactInfoUsage value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ usage_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The usage of this contact method. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public Builder clearUsage() {
+
+ usage_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object name_ = "";
+ /**
+ *
+ *
+ * + * Optional. + * The name of the contact method. + * For example, "hangout", "skype". + * Number of characters allowed is 100. + *+ * + *
string name = 2;
+ */
+ 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;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The name of the contact method. + * For example, "hangout", "skype". + * Number of characters allowed is 100. + *+ * + *
string name = 2;
+ */
+ 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);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The name of the contact method. + * For example, "hangout", "skype". + * Number of characters allowed is 100. + *+ * + *
string name = 2;
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The name of the contact method. + * For example, "hangout", "skype". + * Number of characters allowed is 100. + *+ * + *
string name = 2;
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The name of the contact method. + * For example, "hangout", "skype". + * Number of characters allowed is 100. + *+ * + *
string name = 2;
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object contactId_ = "";
+ /**
+ *
+ *
+ * + * Optional. + * The contact id. + * Number of characters allowed is 100. + *+ * + *
string contact_id = 3;
+ */
+ public java.lang.String getContactId() {
+ java.lang.Object ref = contactId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ contactId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The contact id. + * Number of characters allowed is 100. + *+ * + *
string contact_id = 3;
+ */
+ public com.google.protobuf.ByteString getContactIdBytes() {
+ java.lang.Object ref = contactId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ contactId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The contact id. + * Number of characters allowed is 100. + *+ * + *
string contact_id = 3;
+ */
+ public Builder setContactId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ contactId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The contact id. + * Number of characters allowed is 100. + *+ * + *
string contact_id = 3;
+ */
+ public Builder clearContactId() {
+
+ contactId_ = getDefaultInstance().getContactId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The contact id. + * Number of characters allowed is 100. + *+ * + *
string contact_id = 3;
+ */
+ public Builder setContactIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ contactId_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.AdditionalContactInfo)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.AdditionalContactInfo)
+ private static final com.google.cloud.talent.v4beta1.AdditionalContactInfo DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.AdditionalContactInfo();
+ }
+
+ public static com.google.cloud.talent.v4beta1.AdditionalContactInfo getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Optional. + * The usage of this contact method. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ int getUsageValue();
+ /**
+ *
+ *
+ * + * Optional. + * The usage of this contact method. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ com.google.cloud.talent.v4beta1.ContactInfoUsage getUsage();
+
+ /**
+ *
+ *
+ * + * Optional. + * The name of the contact method. + * For example, "hangout", "skype". + * Number of characters allowed is 100. + *+ * + *
string name = 2;
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ * + * Optional. + * The name of the contact method. + * For example, "hangout", "skype". + * Number of characters allowed is 100. + *+ * + *
string name = 2;
+ */
+ com.google.protobuf.ByteString getNameBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * The contact id. + * Number of characters allowed is 100. + *+ * + *
string contact_id = 3;
+ */
+ java.lang.String getContactId();
+ /**
+ *
+ *
+ * + * Optional. + * The contact id. + * Number of characters allowed is 100. + *+ * + *
string contact_id = 3;
+ */
+ com.google.protobuf.ByteString getContactIdBytes();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Address.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Address.java
new file mode 100644
index 000000000000..c2e59e26a78d
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Address.java
@@ -0,0 +1,1441 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/profile.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Resource that represents a address. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.Address} + */ +public final class Address extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Address) + AddressOrBuilder { + private static final long serialVersionUID = 0L; + // Use Address.newBuilder() to construct. + private Address(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private Address() { + usage_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Address( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + usage_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + addressCase_ = 2; + address_ = s; + break; + } + case 26: + { + com.google.type.PostalAddress.Builder subBuilder = null; + if (addressCase_ == 3) { + subBuilder = ((com.google.type.PostalAddress) address_).toBuilder(); + } + address_ = + input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.type.PostalAddress) address_); + address_ = subBuilder.buildPartial(); + } + addressCase_ = 3; + break; + } + case 34: + { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (isCurrent_ != null) { + subBuilder = isCurrent_.toBuilder(); + } + isCurrent_ = + input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(isCurrent_); + isCurrent_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.ProfileResourceProto + .internal_static_google_cloud_talent_v4beta1_Address_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.ProfileResourceProto + .internal_static_google_cloud_talent_v4beta1_Address_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.Address.class, + com.google.cloud.talent.v4beta1.Address.Builder.class); + } + + private int addressCase_ = 0; + private java.lang.Object address_; + + public enum AddressCase implements com.google.protobuf.Internal.EnumLite { + UNSTRUCTURED_ADDRESS(2), + STRUCTURED_ADDRESS(3), + ADDRESS_NOT_SET(0); + private final int value; + + private AddressCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static AddressCase valueOf(int value) { + return forNumber(value); + } + + public static AddressCase forNumber(int value) { + switch (value) { + case 2: + return UNSTRUCTURED_ADDRESS; + case 3: + return STRUCTURED_ADDRESS; + case 0: + return ADDRESS_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public AddressCase getAddressCase() { + return AddressCase.forNumber(addressCase_); + } + + public static final int USAGE_FIELD_NUMBER = 1; + private int usage_; + /** + * + * + *
+ * Optional. + * The usage of the address. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public int getUsageValue() {
+ return usage_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The usage of the address. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public com.google.cloud.talent.v4beta1.ContactInfoUsage getUsage() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.ContactInfoUsage result =
+ com.google.cloud.talent.v4beta1.ContactInfoUsage.valueOf(usage_);
+ return result == null ? com.google.cloud.talent.v4beta1.ContactInfoUsage.UNRECOGNIZED : result;
+ }
+
+ public static final int UNSTRUCTURED_ADDRESS_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Optional. + * Unstructured address. + * For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", + * "Sunnyvale, California". + * Number of characters allowed is 100. + *+ * + *
string unstructured_address = 2;
+ */
+ public java.lang.String getUnstructuredAddress() {
+ java.lang.Object ref = "";
+ if (addressCase_ == 2) {
+ ref = address_;
+ }
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (addressCase_ == 2) {
+ address_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Unstructured address. + * For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", + * "Sunnyvale, California". + * Number of characters allowed is 100. + *+ * + *
string unstructured_address = 2;
+ */
+ public com.google.protobuf.ByteString getUnstructuredAddressBytes() {
+ java.lang.Object ref = "";
+ if (addressCase_ == 2) {
+ ref = address_;
+ }
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (addressCase_ == 2) {
+ address_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int STRUCTURED_ADDRESS_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ public boolean hasStructuredAddress() {
+ return addressCase_ == 3;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ public com.google.type.PostalAddress getStructuredAddress() {
+ if (addressCase_ == 3) {
+ return (com.google.type.PostalAddress) address_;
+ }
+ return com.google.type.PostalAddress.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ public com.google.type.PostalAddressOrBuilder getStructuredAddressOrBuilder() {
+ if (addressCase_ == 3) {
+ return (com.google.type.PostalAddress) address_;
+ }
+ return com.google.type.PostalAddress.getDefaultInstance();
+ }
+
+ public static final int IS_CURRENT_FIELD_NUMBER = 4;
+ private com.google.protobuf.BoolValue isCurrent_;
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ public boolean hasIsCurrent() {
+ return isCurrent_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ public com.google.protobuf.BoolValue getIsCurrent() {
+ return isCurrent_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isCurrent_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ public com.google.protobuf.BoolValueOrBuilder getIsCurrentOrBuilder() {
+ return getIsCurrent();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (usage_
+ != com.google.cloud.talent.v4beta1.ContactInfoUsage.CONTACT_INFO_USAGE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(1, usage_);
+ }
+ if (addressCase_ == 2) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, address_);
+ }
+ if (addressCase_ == 3) {
+ output.writeMessage(3, (com.google.type.PostalAddress) address_);
+ }
+ if (isCurrent_ != null) {
+ output.writeMessage(4, getIsCurrent());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (usage_
+ != com.google.cloud.talent.v4beta1.ContactInfoUsage.CONTACT_INFO_USAGE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, usage_);
+ }
+ if (addressCase_ == 2) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, address_);
+ }
+ if (addressCase_ == 3) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 3, (com.google.type.PostalAddress) address_);
+ }
+ if (isCurrent_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIsCurrent());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.talent.v4beta1.Address)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.Address other = (com.google.cloud.talent.v4beta1.Address) obj;
+
+ boolean result = true;
+ result = result && usage_ == other.usage_;
+ result = result && (hasIsCurrent() == other.hasIsCurrent());
+ if (hasIsCurrent()) {
+ result = result && getIsCurrent().equals(other.getIsCurrent());
+ }
+ result = result && getAddressCase().equals(other.getAddressCase());
+ if (!result) return false;
+ switch (addressCase_) {
+ case 2:
+ result = result && getUnstructuredAddress().equals(other.getUnstructuredAddress());
+ break;
+ case 3:
+ result = result && getStructuredAddress().equals(other.getStructuredAddress());
+ break;
+ case 0:
+ default:
+ }
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + USAGE_FIELD_NUMBER;
+ hash = (53 * hash) + usage_;
+ if (hasIsCurrent()) {
+ hash = (37 * hash) + IS_CURRENT_FIELD_NUMBER;
+ hash = (53 * hash) + getIsCurrent().hashCode();
+ }
+ switch (addressCase_) {
+ case 2:
+ hash = (37 * hash) + UNSTRUCTURED_ADDRESS_FIELD_NUMBER;
+ hash = (53 * hash) + getUnstructuredAddress().hashCode();
+ break;
+ case 3:
+ hash = (37 * hash) + STRUCTURED_ADDRESS_FIELD_NUMBER;
+ hash = (53 * hash) + getStructuredAddress().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.Address parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Address parseFrom(
+ java.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.Address parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Address parseFrom(
+ com.google.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.Address parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Address parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Address parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Address parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Address parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Address 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.Address parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Address parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.cloud.talent.v4beta1.Address prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Resource that represents a address. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.Address} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. + * The usage of the address. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public int getUsageValue() {
+ return usage_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The usage of the address. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public Builder setUsageValue(int value) {
+ usage_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The usage of the address. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public com.google.cloud.talent.v4beta1.ContactInfoUsage getUsage() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.ContactInfoUsage result =
+ com.google.cloud.talent.v4beta1.ContactInfoUsage.valueOf(usage_);
+ return result == null
+ ? com.google.cloud.talent.v4beta1.ContactInfoUsage.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The usage of the address. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public Builder setUsage(com.google.cloud.talent.v4beta1.ContactInfoUsage value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ usage_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The usage of the address. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ public Builder clearUsage() {
+
+ usage_ = 0;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. + * Unstructured address. + * For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", + * "Sunnyvale, California". + * Number of characters allowed is 100. + *+ * + *
string unstructured_address = 2;
+ */
+ public java.lang.String getUnstructuredAddress() {
+ java.lang.Object ref = "";
+ if (addressCase_ == 2) {
+ ref = address_;
+ }
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (addressCase_ == 2) {
+ address_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Unstructured address. + * For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", + * "Sunnyvale, California". + * Number of characters allowed is 100. + *+ * + *
string unstructured_address = 2;
+ */
+ public com.google.protobuf.ByteString getUnstructuredAddressBytes() {
+ java.lang.Object ref = "";
+ if (addressCase_ == 2) {
+ ref = address_;
+ }
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (addressCase_ == 2) {
+ address_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Unstructured address. + * For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", + * "Sunnyvale, California". + * Number of characters allowed is 100. + *+ * + *
string unstructured_address = 2;
+ */
+ public Builder setUnstructuredAddress(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ addressCase_ = 2;
+ address_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Unstructured address. + * For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", + * "Sunnyvale, California". + * Number of characters allowed is 100. + *+ * + *
string unstructured_address = 2;
+ */
+ public Builder clearUnstructuredAddress() {
+ if (addressCase_ == 2) {
+ addressCase_ = 0;
+ address_ = null;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Unstructured address. + * For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", + * "Sunnyvale, California". + * Number of characters allowed is 100. + *+ * + *
string unstructured_address = 2;
+ */
+ public Builder setUnstructuredAddressBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ addressCase_ = 2;
+ address_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.PostalAddress,
+ com.google.type.PostalAddress.Builder,
+ com.google.type.PostalAddressOrBuilder>
+ structuredAddressBuilder_;
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ public boolean hasStructuredAddress() {
+ return addressCase_ == 3;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ public com.google.type.PostalAddress getStructuredAddress() {
+ if (structuredAddressBuilder_ == null) {
+ if (addressCase_ == 3) {
+ return (com.google.type.PostalAddress) address_;
+ }
+ return com.google.type.PostalAddress.getDefaultInstance();
+ } else {
+ if (addressCase_ == 3) {
+ return structuredAddressBuilder_.getMessage();
+ }
+ return com.google.type.PostalAddress.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ public Builder setStructuredAddress(com.google.type.PostalAddress value) {
+ if (structuredAddressBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ address_ = value;
+ onChanged();
+ } else {
+ structuredAddressBuilder_.setMessage(value);
+ }
+ addressCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ public Builder setStructuredAddress(com.google.type.PostalAddress.Builder builderForValue) {
+ if (structuredAddressBuilder_ == null) {
+ address_ = builderForValue.build();
+ onChanged();
+ } else {
+ structuredAddressBuilder_.setMessage(builderForValue.build());
+ }
+ addressCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ public Builder mergeStructuredAddress(com.google.type.PostalAddress value) {
+ if (structuredAddressBuilder_ == null) {
+ if (addressCase_ == 3 && address_ != com.google.type.PostalAddress.getDefaultInstance()) {
+ address_ =
+ com.google.type.PostalAddress.newBuilder((com.google.type.PostalAddress) address_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ address_ = value;
+ }
+ onChanged();
+ } else {
+ if (addressCase_ == 3) {
+ structuredAddressBuilder_.mergeFrom(value);
+ }
+ structuredAddressBuilder_.setMessage(value);
+ }
+ addressCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ public Builder clearStructuredAddress() {
+ if (structuredAddressBuilder_ == null) {
+ if (addressCase_ == 3) {
+ addressCase_ = 0;
+ address_ = null;
+ onChanged();
+ }
+ } else {
+ if (addressCase_ == 3) {
+ addressCase_ = 0;
+ address_ = null;
+ }
+ structuredAddressBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ public com.google.type.PostalAddress.Builder getStructuredAddressBuilder() {
+ return getStructuredAddressFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ public com.google.type.PostalAddressOrBuilder getStructuredAddressOrBuilder() {
+ if ((addressCase_ == 3) && (structuredAddressBuilder_ != null)) {
+ return structuredAddressBuilder_.getMessageOrBuilder();
+ } else {
+ if (addressCase_ == 3) {
+ return (com.google.type.PostalAddress) address_;
+ }
+ return com.google.type.PostalAddress.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.PostalAddress,
+ com.google.type.PostalAddress.Builder,
+ com.google.type.PostalAddressOrBuilder>
+ getStructuredAddressFieldBuilder() {
+ if (structuredAddressBuilder_ == null) {
+ if (!(addressCase_ == 3)) {
+ address_ = com.google.type.PostalAddress.getDefaultInstance();
+ }
+ structuredAddressBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.PostalAddress,
+ com.google.type.PostalAddress.Builder,
+ com.google.type.PostalAddressOrBuilder>(
+ (com.google.type.PostalAddress) address_, getParentForChildren(), isClean());
+ address_ = null;
+ }
+ addressCase_ = 3;
+ onChanged();
+ ;
+ return structuredAddressBuilder_;
+ }
+
+ private com.google.protobuf.BoolValue isCurrent_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.BoolValue,
+ com.google.protobuf.BoolValue.Builder,
+ com.google.protobuf.BoolValueOrBuilder>
+ isCurrentBuilder_;
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ public boolean hasIsCurrent() {
+ return isCurrentBuilder_ != null || isCurrent_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ public com.google.protobuf.BoolValue getIsCurrent() {
+ if (isCurrentBuilder_ == null) {
+ return isCurrent_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isCurrent_;
+ } else {
+ return isCurrentBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ public Builder setIsCurrent(com.google.protobuf.BoolValue value) {
+ if (isCurrentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ isCurrent_ = value;
+ onChanged();
+ } else {
+ isCurrentBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ public Builder setIsCurrent(com.google.protobuf.BoolValue.Builder builderForValue) {
+ if (isCurrentBuilder_ == null) {
+ isCurrent_ = builderForValue.build();
+ onChanged();
+ } else {
+ isCurrentBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ public Builder mergeIsCurrent(com.google.protobuf.BoolValue value) {
+ if (isCurrentBuilder_ == null) {
+ if (isCurrent_ != null) {
+ isCurrent_ =
+ com.google.protobuf.BoolValue.newBuilder(isCurrent_).mergeFrom(value).buildPartial();
+ } else {
+ isCurrent_ = value;
+ }
+ onChanged();
+ } else {
+ isCurrentBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ public Builder clearIsCurrent() {
+ if (isCurrentBuilder_ == null) {
+ isCurrent_ = null;
+ onChanged();
+ } else {
+ isCurrent_ = null;
+ isCurrentBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ public com.google.protobuf.BoolValue.Builder getIsCurrentBuilder() {
+
+ onChanged();
+ return getIsCurrentFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ public com.google.protobuf.BoolValueOrBuilder getIsCurrentOrBuilder() {
+ if (isCurrentBuilder_ != null) {
+ return isCurrentBuilder_.getMessageOrBuilder();
+ } else {
+ return isCurrent_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isCurrent_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.BoolValue,
+ com.google.protobuf.BoolValue.Builder,
+ com.google.protobuf.BoolValueOrBuilder>
+ getIsCurrentFieldBuilder() {
+ if (isCurrentBuilder_ == null) {
+ isCurrentBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.BoolValue,
+ com.google.protobuf.BoolValue.Builder,
+ com.google.protobuf.BoolValueOrBuilder>(
+ getIsCurrent(), getParentForChildren(), isClean());
+ isCurrent_ = null;
+ }
+ return isCurrentBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Address)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Address)
+ private static final com.google.cloud.talent.v4beta1.Address DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Address();
+ }
+
+ public static com.google.cloud.talent.v4beta1.Address getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public Address parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new Address(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.talent.v4beta1.Address getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/AddressOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/AddressOrBuilder.java
new file mode 100644
index 000000000000..b802c5c1fdfa
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/AddressOrBuilder.java
@@ -0,0 +1,135 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/profile.proto
+
+package com.google.cloud.talent.v4beta1;
+
+public interface AddressOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Address)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ * + * Optional. + * The usage of the address. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ int getUsageValue();
+ /**
+ *
+ *
+ * + * Optional. + * The usage of the address. For example, SCHOOL, WORK, PERSONAL. + *+ * + *
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
+ */
+ com.google.cloud.talent.v4beta1.ContactInfoUsage getUsage();
+
+ /**
+ *
+ *
+ * + * Optional. + * Unstructured address. + * For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", + * "Sunnyvale, California". + * Number of characters allowed is 100. + *+ * + *
string unstructured_address = 2;
+ */
+ java.lang.String getUnstructuredAddress();
+ /**
+ *
+ *
+ * + * Optional. + * Unstructured address. + * For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", + * "Sunnyvale, California". + * Number of characters allowed is 100. + *+ * + *
string unstructured_address = 2;
+ */
+ com.google.protobuf.ByteString getUnstructuredAddressBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ boolean hasStructuredAddress();
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ com.google.type.PostalAddress getStructuredAddress();
+ /**
+ *
+ *
+ * + * Optional. + * Structured address that contains street address, city, state, country, + * etc. + *+ * + *
.google.type.PostalAddress structured_address = 3;
+ */
+ com.google.type.PostalAddressOrBuilder getStructuredAddressOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ boolean hasIsCurrent();
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ com.google.protobuf.BoolValue getIsCurrent();
+ /**
+ *
+ *
+ * + * Optional. + * Indicates if it's the person's current address. + *+ * + *
.google.protobuf.BoolValue is_current = 4;
+ */
+ com.google.protobuf.BoolValueOrBuilder getIsCurrentOrBuilder();
+
+ public com.google.cloud.talent.v4beta1.Address.AddressCase getAddressCase();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationDateFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationDateFilter.java
new file mode 100644
index 000000000000..f3ca6aafe601
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationDateFilter.java
@@ -0,0 +1,1000 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/filters.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Input only. + * Application Date Range Filter. + * The API matches profiles with + * [JobApplication.application_date][google.cloud.talent.v4beta1.JobApplication.application_date] + * between start date and end date (both boundaries are inclusive). The filter + * is ignored if both + * [start_date][google.cloud.talent.v4beta1.ApplicationDateFilter.start_date] + * and [end_date][google.cloud.talent.v4beta1.ApplicationDateFilter.end_date] + * are missing. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationDateFilter} + */ +public final class ApplicationDateFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ApplicationDateFilter) + ApplicationDateFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use ApplicationDateFilter.newBuilder() to construct. + private ApplicationDateFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ApplicationDateFilter() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ApplicationDateFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.type.Date.Builder subBuilder = null; + if (startDate_ != null) { + subBuilder = startDate_.toBuilder(); + } + startDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startDate_); + startDate_ = subBuilder.buildPartial(); + } + + break; + } + case 18: + { + com.google.type.Date.Builder subBuilder = null; + if (endDate_ != null) { + subBuilder = endDate_.toBuilder(); + } + endDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endDate_); + endDate_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_ApplicationDateFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_ApplicationDateFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.ApplicationDateFilter.class, + com.google.cloud.talent.v4beta1.ApplicationDateFilter.Builder.class); + } + + public static final int START_DATE_FIELD_NUMBER = 1; + private com.google.type.Date startDate_; + /** + * + * + *
+ * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ public boolean hasStartDate() {
+ return startDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ public com.google.type.Date getStartDate() {
+ return startDate_ == null ? com.google.type.Date.getDefaultInstance() : startDate_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ public com.google.type.DateOrBuilder getStartDateOrBuilder() {
+ return getStartDate();
+ }
+
+ public static final int END_DATE_FIELD_NUMBER = 2;
+ private com.google.type.Date endDate_;
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ public boolean hasEndDate() {
+ return endDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ public com.google.type.Date getEndDate() {
+ return endDate_ == null ? com.google.type.Date.getDefaultInstance() : endDate_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ public com.google.type.DateOrBuilder getEndDateOrBuilder() {
+ return getEndDate();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (startDate_ != null) {
+ output.writeMessage(1, getStartDate());
+ }
+ if (endDate_ != null) {
+ output.writeMessage(2, getEndDate());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (startDate_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartDate());
+ }
+ if (endDate_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndDate());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.talent.v4beta1.ApplicationDateFilter)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.ApplicationDateFilter other =
+ (com.google.cloud.talent.v4beta1.ApplicationDateFilter) obj;
+
+ boolean result = true;
+ result = result && (hasStartDate() == other.hasStartDate());
+ if (hasStartDate()) {
+ result = result && getStartDate().equals(other.getStartDate());
+ }
+ result = result && (hasEndDate() == other.hasEndDate());
+ if (hasEndDate()) {
+ result = result && getEndDate().equals(other.getEndDate());
+ }
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasStartDate()) {
+ hash = (37 * hash) + START_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + getStartDate().hashCode();
+ }
+ if (hasEndDate()) {
+ hash = (37 * hash) + END_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + getEndDate().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationDateFilter parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationDateFilter parseFrom(
+ java.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.ApplicationDateFilter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationDateFilter parseFrom(
+ com.google.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.ApplicationDateFilter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationDateFilter parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationDateFilter parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationDateFilter parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationDateFilter parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationDateFilter 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.ApplicationDateFilter parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationDateFilter parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.talent.v4beta1.ApplicationDateFilter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Input only. + * Application Date Range Filter. + * The API matches profiles with + * [JobApplication.application_date][google.cloud.talent.v4beta1.JobApplication.application_date] + * between start date and end date (both boundaries are inclusive). The filter + * is ignored if both + * [start_date][google.cloud.talent.v4beta1.ApplicationDateFilter.start_date] + * and [end_date][google.cloud.talent.v4beta1.ApplicationDateFilter.end_date] + * are missing. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationDateFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ public boolean hasStartDate() {
+ return startDateBuilder_ != null || startDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ public com.google.type.Date getStartDate() {
+ if (startDateBuilder_ == null) {
+ return startDate_ == null ? com.google.type.Date.getDefaultInstance() : startDate_;
+ } else {
+ return startDateBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ public Builder setStartDate(com.google.type.Date value) {
+ if (startDateBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ startDate_ = value;
+ onChanged();
+ } else {
+ startDateBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ public Builder setStartDate(com.google.type.Date.Builder builderForValue) {
+ if (startDateBuilder_ == null) {
+ startDate_ = builderForValue.build();
+ onChanged();
+ } else {
+ startDateBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ public Builder mergeStartDate(com.google.type.Date value) {
+ if (startDateBuilder_ == null) {
+ if (startDate_ != null) {
+ startDate_ = com.google.type.Date.newBuilder(startDate_).mergeFrom(value).buildPartial();
+ } else {
+ startDate_ = value;
+ }
+ onChanged();
+ } else {
+ startDateBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ public Builder clearStartDate() {
+ if (startDateBuilder_ == null) {
+ startDate_ = null;
+ onChanged();
+ } else {
+ startDate_ = null;
+ startDateBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ public com.google.type.Date.Builder getStartDateBuilder() {
+
+ onChanged();
+ return getStartDateFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ public com.google.type.DateOrBuilder getStartDateOrBuilder() {
+ if (startDateBuilder_ != null) {
+ return startDateBuilder_.getMessageOrBuilder();
+ } else {
+ return startDate_ == null ? com.google.type.Date.getDefaultInstance() : startDate_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ getStartDateFieldBuilder() {
+ if (startDateBuilder_ == null) {
+ startDateBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+ getStartDate(), getParentForChildren(), isClean());
+ startDate_ = null;
+ }
+ return startDateBuilder_;
+ }
+
+ private com.google.type.Date endDate_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ endDateBuilder_;
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ public boolean hasEndDate() {
+ return endDateBuilder_ != null || endDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ public com.google.type.Date getEndDate() {
+ if (endDateBuilder_ == null) {
+ return endDate_ == null ? com.google.type.Date.getDefaultInstance() : endDate_;
+ } else {
+ return endDateBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ public Builder setEndDate(com.google.type.Date value) {
+ if (endDateBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ endDate_ = value;
+ onChanged();
+ } else {
+ endDateBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ public Builder setEndDate(com.google.type.Date.Builder builderForValue) {
+ if (endDateBuilder_ == null) {
+ endDate_ = builderForValue.build();
+ onChanged();
+ } else {
+ endDateBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ public Builder mergeEndDate(com.google.type.Date value) {
+ if (endDateBuilder_ == null) {
+ if (endDate_ != null) {
+ endDate_ = com.google.type.Date.newBuilder(endDate_).mergeFrom(value).buildPartial();
+ } else {
+ endDate_ = value;
+ }
+ onChanged();
+ } else {
+ endDateBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ public Builder clearEndDate() {
+ if (endDateBuilder_ == null) {
+ endDate_ = null;
+ onChanged();
+ } else {
+ endDate_ = null;
+ endDateBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ public com.google.type.Date.Builder getEndDateBuilder() {
+
+ onChanged();
+ return getEndDateFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ public com.google.type.DateOrBuilder getEndDateOrBuilder() {
+ if (endDateBuilder_ != null) {
+ return endDateBuilder_.getMessageOrBuilder();
+ } else {
+ return endDate_ == null ? com.google.type.Date.getDefaultInstance() : endDate_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ getEndDateFieldBuilder() {
+ if (endDateBuilder_ == null) {
+ endDateBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+ getEndDate(), getParentForChildren(), isClean());
+ endDate_ = null;
+ }
+ return endDateBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ApplicationDateFilter)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ApplicationDateFilter)
+ private static final com.google.cloud.talent.v4beta1.ApplicationDateFilter DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ApplicationDateFilter();
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationDateFilter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ boolean hasStartDate();
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ com.google.type.Date getStartDate();
+ /**
+ *
+ *
+ * + * Optional. + * Start date. If it's missing, The API matches profiles with application date + * not after the end date. + *+ * + *
.google.type.Date start_date = 1;
+ */
+ com.google.type.DateOrBuilder getStartDateOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ boolean hasEndDate();
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ com.google.type.Date getEndDate();
+ /**
+ *
+ *
+ * + * Optional. + * End date. If it's missing, The API matches profiles with application date + * not before the start date. + *+ * + *
.google.type.Date end_date = 2;
+ */
+ com.google.type.DateOrBuilder getEndDateOrBuilder();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationJobFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationJobFilter.java
new file mode 100644
index 000000000000..c5b2ed70d139
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationJobFilter.java
@@ -0,0 +1,1099 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/filters.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Input only. + * Filter on the job information of Application. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationJobFilter} + */ +public final class ApplicationJobFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ApplicationJobFilter) + ApplicationJobFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use ApplicationJobFilter.newBuilder() to construct. + private ApplicationJobFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ApplicationJobFilter() { + jobName_ = ""; + jobRequisitionId_ = ""; + jobTitle_ = ""; + negated_ = false; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ApplicationJobFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + jobName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + jobRequisitionId_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + jobTitle_ = s; + break; + } + case 32: + { + negated_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_ApplicationJobFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_ApplicationJobFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.ApplicationJobFilter.class, + com.google.cloud.talent.v4beta1.ApplicationJobFilter.Builder.class); + } + + public static final int JOB_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object jobName_; + /** + * + * + *
+ * Optional. + * The job resource name in the application. The API does an exact match on + * the [Job.name][google.cloud.talent.v4beta1.Job.name] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_name = 1;
+ */
+ public java.lang.String getJobName() {
+ java.lang.Object ref = jobName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ jobName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job resource name in the application. The API does an exact match on + * the [Job.name][google.cloud.talent.v4beta1.Job.name] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_name = 1;
+ */
+ public com.google.protobuf.ByteString getJobNameBytes() {
+ java.lang.Object ref = jobName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ jobName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int JOB_REQUISITION_ID_FIELD_NUMBER = 2;
+ private volatile java.lang.Object jobRequisitionId_;
+ /**
+ *
+ *
+ * + * Optional. + * The job requisition id in the application. The API does an exact match on + * the [Job.requisistion_id][] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_requisition_id = 2;
+ */
+ public java.lang.String getJobRequisitionId() {
+ java.lang.Object ref = jobRequisitionId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ jobRequisitionId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job requisition id in the application. The API does an exact match on + * the [Job.requisistion_id][] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_requisition_id = 2;
+ */
+ public com.google.protobuf.ByteString getJobRequisitionIdBytes() {
+ java.lang.Object ref = jobRequisitionId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ jobRequisitionId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int JOB_TITLE_FIELD_NUMBER = 3;
+ private volatile java.lang.Object jobTitle_;
+ /**
+ *
+ *
+ * + * Optional. + * The job title in the application. The API does an exact match on the + * [Job.title][google.cloud.talent.v4beta1.Job.title] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_title = 3;
+ */
+ public java.lang.String getJobTitle() {
+ java.lang.Object ref = jobTitle_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ jobTitle_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job title in the application. The API does an exact match on the + * [Job.title][google.cloud.talent.v4beta1.Job.title] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_title = 3;
+ */
+ public com.google.protobuf.ByteString getJobTitleBytes() {
+ java.lang.Object ref = jobTitle_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ jobTitle_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int NEGATED_FIELD_NUMBER = 4;
+ private boolean negated_;
+ /**
+ *
+ *
+ * + * Optional. + * If true, the API excludes all profiles with any + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] + * matching the filters. + *+ * + *
bool negated = 4;
+ */
+ public boolean getNegated() {
+ return negated_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getJobNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobName_);
+ }
+ if (!getJobRequisitionIdBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jobRequisitionId_);
+ }
+ if (!getJobTitleBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, jobTitle_);
+ }
+ if (negated_ != false) {
+ output.writeBool(4, negated_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getJobNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jobName_);
+ }
+ if (!getJobRequisitionIdBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobRequisitionId_);
+ }
+ if (!getJobTitleBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jobTitle_);
+ }
+ if (negated_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, negated_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.talent.v4beta1.ApplicationJobFilter)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.ApplicationJobFilter other =
+ (com.google.cloud.talent.v4beta1.ApplicationJobFilter) obj;
+
+ boolean result = true;
+ result = result && getJobName().equals(other.getJobName());
+ result = result && getJobRequisitionId().equals(other.getJobRequisitionId());
+ result = result && getJobTitle().equals(other.getJobTitle());
+ result = result && (getNegated() == other.getNegated());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + JOB_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getJobName().hashCode();
+ hash = (37 * hash) + JOB_REQUISITION_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getJobRequisitionId().hashCode();
+ hash = (37 * hash) + JOB_TITLE_FIELD_NUMBER;
+ hash = (53 * hash) + getJobTitle().hashCode();
+ hash = (37 * hash) + NEGATED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationJobFilter parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationJobFilter parseFrom(
+ java.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.ApplicationJobFilter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationJobFilter parseFrom(
+ com.google.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.ApplicationJobFilter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationJobFilter parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationJobFilter parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationJobFilter parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationJobFilter parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationJobFilter 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.ApplicationJobFilter parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationJobFilter parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.cloud.talent.v4beta1.ApplicationJobFilter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Input only. + * Filter on the job information of Application. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationJobFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. + * The job resource name in the application. The API does an exact match on + * the [Job.name][google.cloud.talent.v4beta1.Job.name] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_name = 1;
+ */
+ public java.lang.String getJobName() {
+ java.lang.Object ref = jobName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ jobName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job resource name in the application. The API does an exact match on + * the [Job.name][google.cloud.talent.v4beta1.Job.name] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_name = 1;
+ */
+ public com.google.protobuf.ByteString getJobNameBytes() {
+ java.lang.Object ref = jobName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ jobName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job resource name in the application. The API does an exact match on + * the [Job.name][google.cloud.talent.v4beta1.Job.name] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_name = 1;
+ */
+ public Builder setJobName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ jobName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job resource name in the application. The API does an exact match on + * the [Job.name][google.cloud.talent.v4beta1.Job.name] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_name = 1;
+ */
+ public Builder clearJobName() {
+
+ jobName_ = getDefaultInstance().getJobName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job resource name in the application. The API does an exact match on + * the [Job.name][google.cloud.talent.v4beta1.Job.name] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_name = 1;
+ */
+ public Builder setJobNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ jobName_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object jobRequisitionId_ = "";
+ /**
+ *
+ *
+ * + * Optional. + * The job requisition id in the application. The API does an exact match on + * the [Job.requisistion_id][] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_requisition_id = 2;
+ */
+ public java.lang.String getJobRequisitionId() {
+ java.lang.Object ref = jobRequisitionId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ jobRequisitionId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job requisition id in the application. The API does an exact match on + * the [Job.requisistion_id][] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_requisition_id = 2;
+ */
+ public com.google.protobuf.ByteString getJobRequisitionIdBytes() {
+ java.lang.Object ref = jobRequisitionId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ jobRequisitionId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job requisition id in the application. The API does an exact match on + * the [Job.requisistion_id][] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_requisition_id = 2;
+ */
+ public Builder setJobRequisitionId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ jobRequisitionId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job requisition id in the application. The API does an exact match on + * the [Job.requisistion_id][] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_requisition_id = 2;
+ */
+ public Builder clearJobRequisitionId() {
+
+ jobRequisitionId_ = getDefaultInstance().getJobRequisitionId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job requisition id in the application. The API does an exact match on + * the [Job.requisistion_id][] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_requisition_id = 2;
+ */
+ public Builder setJobRequisitionIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ jobRequisitionId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object jobTitle_ = "";
+ /**
+ *
+ *
+ * + * Optional. + * The job title in the application. The API does an exact match on the + * [Job.title][google.cloud.talent.v4beta1.Job.title] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_title = 3;
+ */
+ public java.lang.String getJobTitle() {
+ java.lang.Object ref = jobTitle_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ jobTitle_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job title in the application. The API does an exact match on the + * [Job.title][google.cloud.talent.v4beta1.Job.title] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_title = 3;
+ */
+ public com.google.protobuf.ByteString getJobTitleBytes() {
+ java.lang.Object ref = jobTitle_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ jobTitle_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job title in the application. The API does an exact match on the + * [Job.title][google.cloud.talent.v4beta1.Job.title] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_title = 3;
+ */
+ public Builder setJobTitle(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ jobTitle_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job title in the application. The API does an exact match on the + * [Job.title][google.cloud.talent.v4beta1.Job.title] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_title = 3;
+ */
+ public Builder clearJobTitle() {
+
+ jobTitle_ = getDefaultInstance().getJobTitle();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The job title in the application. The API does an exact match on the + * [Job.title][google.cloud.talent.v4beta1.Job.title] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_title = 3;
+ */
+ public Builder setJobTitleBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ jobTitle_ = value;
+ onChanged();
+ return this;
+ }
+
+ private boolean negated_;
+ /**
+ *
+ *
+ * + * Optional. + * If true, the API excludes all profiles with any + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] + * matching the filters. + *+ * + *
bool negated = 4;
+ */
+ public boolean getNegated() {
+ return negated_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If true, the API excludes all profiles with any + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] + * matching the filters. + *+ * + *
bool negated = 4;
+ */
+ public Builder setNegated(boolean value) {
+
+ negated_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If true, the API excludes all profiles with any + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] + * matching the filters. + *+ * + *
bool negated = 4;
+ */
+ public Builder clearNegated() {
+
+ negated_ = false;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ApplicationJobFilter)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ApplicationJobFilter)
+ private static final com.google.cloud.talent.v4beta1.ApplicationJobFilter DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ApplicationJobFilter();
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationJobFilter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Optional. + * The job resource name in the application. The API does an exact match on + * the [Job.name][google.cloud.talent.v4beta1.Job.name] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_name = 1;
+ */
+ java.lang.String getJobName();
+ /**
+ *
+ *
+ * + * Optional. + * The job resource name in the application. The API does an exact match on + * the [Job.name][google.cloud.talent.v4beta1.Job.name] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_name = 1;
+ */
+ com.google.protobuf.ByteString getJobNameBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * The job requisition id in the application. The API does an exact match on + * the [Job.requisistion_id][] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_requisition_id = 2;
+ */
+ java.lang.String getJobRequisitionId();
+ /**
+ *
+ *
+ * + * Optional. + * The job requisition id in the application. The API does an exact match on + * the [Job.requisistion_id][] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_requisition_id = 2;
+ */
+ com.google.protobuf.ByteString getJobRequisitionIdBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * The job title in the application. The API does an exact match on the + * [Job.title][google.cloud.talent.v4beta1.Job.title] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_title = 3;
+ */
+ java.lang.String getJobTitle();
+ /**
+ *
+ *
+ * + * Optional. + * The job title in the application. The API does an exact match on the + * [Job.title][google.cloud.talent.v4beta1.Job.title] of + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] in + * profiles. + *+ * + *
string job_title = 3;
+ */
+ com.google.protobuf.ByteString getJobTitleBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * If true, the API excludes all profiles with any + * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] + * matching the filters. + *+ * + *
bool negated = 4;
+ */
+ boolean getNegated();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationLastStageFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationLastStageFilter.java
new file mode 100644
index 000000000000..9bdf0518b7aa
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationLastStageFilter.java
@@ -0,0 +1,722 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/filters.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Input only. + * Filter on Last Stage of Application. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationLastStageFilter} + */ +public final class ApplicationLastStageFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ApplicationLastStageFilter) + ApplicationLastStageFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use ApplicationLastStageFilter.newBuilder() to construct. + private ApplicationLastStageFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ApplicationLastStageFilter() { + lastStage_ = ""; + negated_ = false; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ApplicationLastStageFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + lastStage_ = s; + break; + } + case 16: + { + negated_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_ApplicationLastStageFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_ApplicationLastStageFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.ApplicationLastStageFilter.class, + com.google.cloud.talent.v4beta1.ApplicationLastStageFilter.Builder.class); + } + + public static final int LAST_STAGE_FIELD_NUMBER = 1; + private volatile java.lang.Object lastStage_; + /** + * + * + *
+ * Required. + * User entered or selected last stage the candidate reached in the + * application. The API does an exact match on the + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * in profiles. + *+ * + *
string last_stage = 1;
+ */
+ public java.lang.String getLastStage() {
+ java.lang.Object ref = lastStage_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ lastStage_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected last stage the candidate reached in the + * application. The API does an exact match on the + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * in profiles. + *+ * + *
string last_stage = 1;
+ */
+ public com.google.protobuf.ByteString getLastStageBytes() {
+ java.lang.Object ref = lastStage_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ lastStage_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int NEGATED_FIELD_NUMBER = 2;
+ private boolean negated_;
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * matching the last stage specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public boolean getNegated() {
+ return negated_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getLastStageBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lastStage_);
+ }
+ if (negated_ != false) {
+ output.writeBool(2, negated_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getLastStageBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lastStage_);
+ }
+ if (negated_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, negated_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.talent.v4beta1.ApplicationLastStageFilter)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.ApplicationLastStageFilter other =
+ (com.google.cloud.talent.v4beta1.ApplicationLastStageFilter) obj;
+
+ boolean result = true;
+ result = result && getLastStage().equals(other.getLastStage());
+ result = result && (getNegated() == other.getNegated());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + LAST_STAGE_FIELD_NUMBER;
+ hash = (53 * hash) + getLastStage().hashCode();
+ hash = (37 * hash) + NEGATED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationLastStageFilter parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationLastStageFilter parseFrom(
+ java.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.ApplicationLastStageFilter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationLastStageFilter parseFrom(
+ com.google.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.ApplicationLastStageFilter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationLastStageFilter parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationLastStageFilter parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationLastStageFilter parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationLastStageFilter parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationLastStageFilter 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.ApplicationLastStageFilter parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationLastStageFilter parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.talent.v4beta1.ApplicationLastStageFilter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Input only. + * Filter on Last Stage of Application. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationLastStageFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. + * User entered or selected last stage the candidate reached in the + * application. The API does an exact match on the + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * in profiles. + *+ * + *
string last_stage = 1;
+ */
+ public java.lang.String getLastStage() {
+ java.lang.Object ref = lastStage_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ lastStage_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected last stage the candidate reached in the + * application. The API does an exact match on the + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * in profiles. + *+ * + *
string last_stage = 1;
+ */
+ public com.google.protobuf.ByteString getLastStageBytes() {
+ java.lang.Object ref = lastStage_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ lastStage_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected last stage the candidate reached in the + * application. The API does an exact match on the + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * in profiles. + *+ * + *
string last_stage = 1;
+ */
+ public Builder setLastStage(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ lastStage_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected last stage the candidate reached in the + * application. The API does an exact match on the + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * in profiles. + *+ * + *
string last_stage = 1;
+ */
+ public Builder clearLastStage() {
+
+ lastStage_ = getDefaultInstance().getLastStage();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected last stage the candidate reached in the + * application. The API does an exact match on the + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * in profiles. + *+ * + *
string last_stage = 1;
+ */
+ public Builder setLastStageBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ lastStage_ = value;
+ onChanged();
+ return this;
+ }
+
+ private boolean negated_;
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * matching the last stage specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public boolean getNegated() {
+ return negated_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * matching the last stage specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public Builder setNegated(boolean value) {
+
+ negated_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * matching the last stage specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public Builder clearNegated() {
+
+ negated_ = false;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ApplicationLastStageFilter)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ApplicationLastStageFilter)
+ private static final com.google.cloud.talent.v4beta1.ApplicationLastStageFilter DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ApplicationLastStageFilter();
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationLastStageFilter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. + * User entered or selected last stage the candidate reached in the + * application. The API does an exact match on the + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * in profiles. + *+ * + *
string last_stage = 1;
+ */
+ java.lang.String getLastStage();
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected last stage the candidate reached in the + * application. The API does an exact match on the + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * in profiles. + *+ * + *
string last_stage = 1;
+ */
+ com.google.protobuf.ByteString getLastStageBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any + * [JobApplication.last_stage][google.cloud.talent.v4beta1.JobApplication.last_stage] + * matching the last stage specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ boolean getNegated();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationOutcomeReasonFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationOutcomeReasonFilter.java
new file mode 100644
index 000000000000..a8cd281335c5
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationOutcomeReasonFilter.java
@@ -0,0 +1,722 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/filters.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Input only. + * Outcome Reason Filter. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter} + */ +public final class ApplicationOutcomeReasonFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter) + ApplicationOutcomeReasonFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use ApplicationOutcomeReasonFilter.newBuilder() to construct. + private ApplicationOutcomeReasonFilter( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ApplicationOutcomeReasonFilter() { + outcomeReason_ = ""; + negated_ = false; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ApplicationOutcomeReasonFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + outcomeReason_ = s; + break; + } + case 16: + { + negated_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeReasonFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeReasonFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter.class, + com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter.Builder.class); + } + + public static final int OUTCOME_REASON_FIELD_NUMBER = 1; + private volatile java.lang.Object outcomeReason_; + /** + * + * + *
+ * Required. + * User entered or selected outcome reason. The API does an exact match on the + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * in profiles. + *+ * + *
string outcome_reason = 1;
+ */
+ public java.lang.String getOutcomeReason() {
+ java.lang.Object ref = outcomeReason_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ outcomeReason_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected outcome reason. The API does an exact match on the + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * in profiles. + *+ * + *
string outcome_reason = 1;
+ */
+ public com.google.protobuf.ByteString getOutcomeReasonBytes() {
+ java.lang.Object ref = outcomeReason_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ outcomeReason_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int NEGATED_FIELD_NUMBER = 2;
+ private boolean negated_;
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * matching the outcome reason specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public boolean getNegated() {
+ return negated_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getOutcomeReasonBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outcomeReason_);
+ }
+ if (negated_ != false) {
+ output.writeBool(2, negated_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getOutcomeReasonBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outcomeReason_);
+ }
+ if (negated_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, negated_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter other =
+ (com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter) obj;
+
+ boolean result = true;
+ result = result && getOutcomeReason().equals(other.getOutcomeReason());
+ result = result && (getNegated() == other.getNegated());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + OUTCOME_REASON_FIELD_NUMBER;
+ hash = (53 * hash) + getOutcomeReason().hashCode();
+ hash = (37 * hash) + NEGATED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseFrom(
+ java.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.ApplicationOutcomeReasonFilter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseFrom(
+ com.google.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.ApplicationOutcomeReasonFilter parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter 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.ApplicationOutcomeReasonFilter parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Input only. + * Outcome Reason Filter. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. + * User entered or selected outcome reason. The API does an exact match on the + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * in profiles. + *+ * + *
string outcome_reason = 1;
+ */
+ public java.lang.String getOutcomeReason() {
+ java.lang.Object ref = outcomeReason_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ outcomeReason_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected outcome reason. The API does an exact match on the + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * in profiles. + *+ * + *
string outcome_reason = 1;
+ */
+ public com.google.protobuf.ByteString getOutcomeReasonBytes() {
+ java.lang.Object ref = outcomeReason_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ outcomeReason_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected outcome reason. The API does an exact match on the + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * in profiles. + *+ * + *
string outcome_reason = 1;
+ */
+ public Builder setOutcomeReason(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ outcomeReason_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected outcome reason. The API does an exact match on the + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * in profiles. + *+ * + *
string outcome_reason = 1;
+ */
+ public Builder clearOutcomeReason() {
+
+ outcomeReason_ = getDefaultInstance().getOutcomeReason();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected outcome reason. The API does an exact match on the + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * in profiles. + *+ * + *
string outcome_reason = 1;
+ */
+ public Builder setOutcomeReasonBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ outcomeReason_ = value;
+ onChanged();
+ return this;
+ }
+
+ private boolean negated_;
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * matching the outcome reason specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public boolean getNegated() {
+ return negated_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * matching the outcome reason specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public Builder setNegated(boolean value) {
+
+ negated_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * matching the outcome reason specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public Builder clearNegated() {
+
+ negated_ = false;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter)
+ private static final com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter();
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. + * User entered or selected outcome reason. The API does an exact match on the + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * in profiles. + *+ * + *
string outcome_reason = 1;
+ */
+ java.lang.String getOutcomeReason();
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected outcome reason. The API does an exact match on the + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * in profiles. + *+ * + *
string outcome_reason = 1;
+ */
+ com.google.protobuf.ByteString getOutcomeReasonBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any + * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * matching the outcome reason specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ boolean getNegated();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilter.java
new file mode 100644
index 000000000000..5ba18abb1567
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilter.java
@@ -0,0 +1,699 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/filters.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Input only. + * Filter on status of Application. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationStatusFilter} + */ +public final class ApplicationStatusFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ApplicationStatusFilter) + ApplicationStatusFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use ApplicationStatusFilter.newBuilder() to construct. + private ApplicationStatusFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ApplicationStatusFilter() { + applicationStatus_ = 0; + negated_ = false; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ApplicationStatusFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + applicationStatus_ = rawValue; + break; + } + case 16: + { + negated_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_ApplicationStatusFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_ApplicationStatusFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.ApplicationStatusFilter.class, + com.google.cloud.talent.v4beta1.ApplicationStatusFilter.Builder.class); + } + + public static final int APPLICATION_STATUS_FIELD_NUMBER = 1; + private int applicationStatus_; + /** + * + * + *
+ * Required. + * User entered or selected application status. The API does an exact match + * between the application status specified in this filter and the + * [JobApplication.status][] in profiles. + *+ * + *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
+ *
+ */
+ public int getApplicationStatusValue() {
+ return applicationStatus_;
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected application status. The API does an exact match + * between the application status specified in this filter and the + * [JobApplication.status][] in profiles. + *+ * + *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
+ *
+ */
+ public com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus getApplicationStatus() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus result =
+ com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.valueOf(
+ applicationStatus_);
+ return result == null
+ ? com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int NEGATED_FIELD_NUMBER = 2;
+ private boolean negated_;
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any [JobApplication.status][] + * matching the status specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public boolean getNegated() {
+ return negated_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (applicationStatus_
+ != com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus
+ .APPLICATION_STATUS_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(1, applicationStatus_);
+ }
+ if (negated_ != false) {
+ output.writeBool(2, negated_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (applicationStatus_
+ != com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus
+ .APPLICATION_STATUS_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, applicationStatus_);
+ }
+ if (negated_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, negated_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.talent.v4beta1.ApplicationStatusFilter)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.ApplicationStatusFilter other =
+ (com.google.cloud.talent.v4beta1.ApplicationStatusFilter) obj;
+
+ boolean result = true;
+ result = result && applicationStatus_ == other.applicationStatus_;
+ result = result && (getNegated() == other.getNegated());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + APPLICATION_STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + applicationStatus_;
+ hash = (37 * hash) + NEGATED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationStatusFilter parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationStatusFilter parseFrom(
+ java.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.ApplicationStatusFilter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationStatusFilter parseFrom(
+ com.google.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.ApplicationStatusFilter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationStatusFilter parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationStatusFilter parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationStatusFilter parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationStatusFilter parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationStatusFilter 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.ApplicationStatusFilter parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationStatusFilter parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.talent.v4beta1.ApplicationStatusFilter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Input only. + * Filter on status of Application. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationStatusFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. + * User entered or selected application status. The API does an exact match + * between the application status specified in this filter and the + * [JobApplication.status][] in profiles. + *+ * + *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
+ *
+ */
+ public int getApplicationStatusValue() {
+ return applicationStatus_;
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected application status. The API does an exact match + * between the application status specified in this filter and the + * [JobApplication.status][] in profiles. + *+ * + *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
+ *
+ */
+ public Builder setApplicationStatusValue(int value) {
+ applicationStatus_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected application status. The API does an exact match + * between the application status specified in this filter and the + * [JobApplication.status][] in profiles. + *+ * + *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
+ *
+ */
+ public com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus getApplicationStatus() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus result =
+ com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.valueOf(
+ applicationStatus_);
+ return result == null
+ ? com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected application status. The API does an exact match + * between the application status specified in this filter and the + * [JobApplication.status][] in profiles. + *+ * + *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
+ *
+ */
+ public Builder setApplicationStatus(
+ com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ applicationStatus_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected application status. The API does an exact match + * between the application status specified in this filter and the + * [JobApplication.status][] in profiles. + *+ * + *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
+ *
+ */
+ public Builder clearApplicationStatus() {
+
+ applicationStatus_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private boolean negated_;
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any [JobApplication.status][] + * matching the status specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public boolean getNegated() {
+ return negated_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any [JobApplication.status][] + * matching the status specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public Builder setNegated(boolean value) {
+
+ negated_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any [JobApplication.status][] + * matching the status specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ public Builder clearNegated() {
+
+ negated_ = false;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ApplicationStatusFilter)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ApplicationStatusFilter)
+ private static final com.google.cloud.talent.v4beta1.ApplicationStatusFilter DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ApplicationStatusFilter();
+ }
+
+ public static com.google.cloud.talent.v4beta1.ApplicationStatusFilter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. + * User entered or selected application status. The API does an exact match + * between the application status specified in this filter and the + * [JobApplication.status][] in profiles. + *+ * + *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
+ *
+ */
+ int getApplicationStatusValue();
+ /**
+ *
+ *
+ * + * Required. + * User entered or selected application status. The API does an exact match + * between the application status specified in this filter and the + * [JobApplication.status][] in profiles. + *+ * + *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
+ *
+ */
+ com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus getApplicationStatus();
+
+ /**
+ *
+ *
+ * + * Optional. + * If true, The API excludes all candidates with any [JobApplication.status][] + * matching the status specified in the filter. + *+ * + *
bool negated = 2;
+ */
+ boolean getNegated();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java
new file mode 100644
index 000000000000..92cd60c74796
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java
@@ -0,0 +1,833 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/job_service.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Input only. + * Batch delete jobs request. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.BatchDeleteJobsRequest} + */ +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; + // Use BatchDeleteJobsRequest.newBuilder() to construct. + private BatchDeleteJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private BatchDeleteJobsRequest() { + parent_ = ""; + filter_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BatchDeleteJobsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + 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 + .ensureFieldAccessorsInitialized( + 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 project under which the job is created. + * The format is "projects/{project_id}", for example, + * "projects/api-test-project". + *+ * + *
string parent = 1;
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ 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 project under which the job is created. + * The format is "projects/{project_id}", for example, + * "projects/api-test-project". + *+ * + *
string parent = 1;
+ */
+ 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);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ 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 + * The fields eligible for filtering are: + * * `companyName` (Required) + * * `requisitionId` (Required) + * Sample Query: companyName = "projects/api-test-project/companies/123" AND + * requisitionId = "req-1" + *+ * + *
string filter = 2;
+ */
+ public java.lang.String getFilter() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ 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 + * The fields eligible for filtering are: + * * `companyName` (Required) + * * `requisitionId` (Required) + * Sample Query: companyName = "projects/api-test-project/companies/123" AND + * requisitionId = "req-1" + *+ * + *
string filter = 2;
+ */
+ 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);
+ filter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getParentBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (!getFilterBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getParentBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (!getFilterBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ 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;
+
+ boolean result = true;
+ result = result && getParent().equals(other.getParent());
+ result = result && getFilter().equals(other.getFilter());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
+ hash = (37 * hash) + FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getFilter().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom(
+ 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)
+ 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)
+ 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ 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, 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.BatchDeleteJobsRequest parseFrom(
+ 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);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Input only. + * Batch delete jobs request. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.BatchDeleteJobsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. + * The resource name of the project under which the job is created. + * The format is "projects/{project_id}", for example, + * "projects/api-test-project". + *+ * + *
string parent = 1;
+ */
+ 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;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the project under which the job is created. + * The format is "projects/{project_id}", for example, + * "projects/api-test-project". + *+ * + *
string parent = 1;
+ */
+ 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);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the project under which the job is created. + * The format is "projects/{project_id}", for example, + * "projects/api-test-project". + *+ * + *
string parent = 1;
+ */
+ public Builder setParent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the project under which the job is created. + * The format is "projects/{project_id}", for example, + * "projects/api-test-project". + *+ * + *
string parent = 1;
+ */
+ public Builder clearParent() {
+
+ parent_ = getDefaultInstance().getParent();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the project under which the job is created. + * The format is "projects/{project_id}", for example, + * "projects/api-test-project". + *+ * + *
string parent = 1;
+ */
+ public Builder setParentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object filter_ = "";
+ /**
+ *
+ *
+ * + * Required. + * The filter string specifies the jobs to be deleted. + * Supported operator: =, AND + * The fields eligible for filtering are: + * * `companyName` (Required) + * * `requisitionId` (Required) + * Sample Query: companyName = "projects/api-test-project/companies/123" AND + * requisitionId = "req-1" + *+ * + *
string filter = 2;
+ */
+ 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;
+ java.lang.String s = bs.toStringUtf8();
+ filter_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * The filter string specifies the jobs to be deleted. + * Supported operator: =, AND + * The fields eligible for filtering are: + * * `companyName` (Required) + * * `requisitionId` (Required) + * Sample Query: companyName = "projects/api-test-project/companies/123" AND + * requisitionId = "req-1" + *+ * + *
string filter = 2;
+ */
+ 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);
+ filter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * The filter string specifies the jobs to be deleted. + * Supported operator: =, AND + * The fields eligible for filtering are: + * * `companyName` (Required) + * * `requisitionId` (Required) + * Sample Query: companyName = "projects/api-test-project/companies/123" AND + * requisitionId = "req-1" + *+ * + *
string filter = 2;
+ */
+ public Builder setFilter(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ filter_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The filter string specifies the jobs to be deleted. + * Supported operator: =, AND + * The fields eligible for filtering are: + * * `companyName` (Required) + * * `requisitionId` (Required) + * Sample Query: companyName = "projects/api-test-project/companies/123" AND + * requisitionId = "req-1" + *+ * + *
string filter = 2;
+ */
+ public Builder clearFilter() {
+
+ filter_ = getDefaultInstance().getFilter();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The filter string specifies the jobs to be deleted. + * Supported operator: =, AND + * The fields eligible for filtering are: + * * `companyName` (Required) + * * `requisitionId` (Required) + * Sample Query: companyName = "projects/api-test-project/companies/123" AND + * requisitionId = "req-1" + *+ * + *
string filter = 2;
+ */
+ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ filter_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ 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();
+ }
+
+ public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. + * The resource name of the project under which the job is created. + * The format is "projects/{project_id}", for example, + * "projects/api-test-project". + *+ * + *
string parent = 1;
+ */
+ java.lang.String getParent();
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the project under which the job is created. + * The format is "projects/{project_id}", for example, + * "projects/api-test-project". + *+ * + *
string parent = 1;
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ * + * Required. + * The filter string specifies the jobs to be deleted. + * Supported operator: =, AND + * The fields eligible for filtering are: + * * `companyName` (Required) + * * `requisitionId` (Required) + * Sample Query: companyName = "projects/api-test-project/companies/123" AND + * requisitionId = "req-1" + *+ * + *
string filter = 2;
+ */
+ java.lang.String getFilter();
+ /**
+ *
+ *
+ * + * Required. + * The filter string specifies the jobs to be deleted. + * Supported operator: =, AND + * The fields eligible for filtering are: + * * `companyName` (Required) + * * `requisitionId` (Required) + * Sample Query: companyName = "projects/api-test-project/companies/123" AND + * requisitionId = "req-1" + *+ * + *
string filter = 2;
+ */
+ com.google.protobuf.ByteString getFilterBytes();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
new file mode 100644
index 000000000000..cce9e88a2920
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
@@ -0,0 +1,57 @@
+// 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.v4beta1\032\034google/a"
+ + "pi/annotations.proto\032%google/cloud/talen"
+ + "t/v4beta1/job.proto\032\037google/protobuf/tim"
+ + "estamp.proto\032\027google/rpc/status.protoBx\n"
+ + "\037com.google.cloud.talent.v4beta1B\nBatchP"
+ + "rotoP\001ZAgoogle.golang.org/genproto/googl"
+ + "eapis/cloud/talent/v4beta1;talent\242\002\003CTSb"
+ + "\006proto3"
+ };
+ com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
+ new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
+ public com.google.protobuf.ExtensionRegistry assignDescriptors(
+ com.google.protobuf.Descriptors.FileDescriptor root) {
+ descriptor = root;
+ return null;
+ }
+ };
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ com.google.rpc.StatusProto.getDescriptor(),
+ },
+ assigner);
+ com.google.api.AnnotationsProto.getDescriptor();
+ com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor();
+ com.google.protobuf.TimestampProto.getDescriptor();
+ com.google.rpc.StatusProto.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Certification.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Certification.java
new file mode 100644
index 000000000000..cc70411de259
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Certification.java
@@ -0,0 +1,1485 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/profile.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Resource that represents a license or certification. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.Certification} + */ +public final class Certification extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Certification) + CertificationOrBuilder { + private static final long serialVersionUID = 0L; + // Use Certification.newBuilder() to construct. + private Certification(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private Certification() { + displayName_ = ""; + authority_ = ""; + description_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Certification( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 18: + { + com.google.type.Date.Builder subBuilder = null; + if (acquireDate_ != null) { + subBuilder = acquireDate_.toBuilder(); + } + acquireDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(acquireDate_); + acquireDate_ = subBuilder.buildPartial(); + } + + break; + } + case 26: + { + com.google.type.Date.Builder subBuilder = null; + if (expireDate_ != null) { + subBuilder = expireDate_.toBuilder(); + } + expireDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireDate_); + expireDate_ = subBuilder.buildPartial(); + } + + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + authority_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.ProfileResourceProto + .internal_static_google_cloud_talent_v4beta1_Certification_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.ProfileResourceProto + .internal_static_google_cloud_talent_v4beta1_Certification_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.Certification.class, + com.google.cloud.talent.v4beta1.Certification.Builder.class); + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object displayName_; + /** + * + * + *
+ * Optional. + * Name of license or certification. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Name of license or certification. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ 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);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ACQUIRE_DATE_FIELD_NUMBER = 2;
+ private com.google.type.Date acquireDate_;
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ public boolean hasAcquireDate() {
+ return acquireDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ public com.google.type.Date getAcquireDate() {
+ return acquireDate_ == null ? com.google.type.Date.getDefaultInstance() : acquireDate_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ public com.google.type.DateOrBuilder getAcquireDateOrBuilder() {
+ return getAcquireDate();
+ }
+
+ public static final int EXPIRE_DATE_FIELD_NUMBER = 3;
+ private com.google.type.Date expireDate_;
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ public boolean hasExpireDate() {
+ return expireDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ public com.google.type.Date getExpireDate() {
+ return expireDate_ == null ? com.google.type.Date.getDefaultInstance() : expireDate_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ public com.google.type.DateOrBuilder getExpireDateOrBuilder() {
+ return getExpireDate();
+ }
+
+ public static final int AUTHORITY_FIELD_NUMBER = 4;
+ private volatile java.lang.Object authority_;
+ /**
+ *
+ *
+ * + * Optional. + * Authority of license, such as government. + * Number of characters allowed is 100. + *+ * + *
string authority = 4;
+ */
+ public java.lang.String getAuthority() {
+ java.lang.Object ref = authority_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ authority_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Authority of license, such as government. + * Number of characters allowed is 100. + *+ * + *
string authority = 4;
+ */
+ public com.google.protobuf.ByteString getAuthorityBytes() {
+ java.lang.Object ref = authority_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ authority_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DESCRIPTION_FIELD_NUMBER = 5;
+ private volatile java.lang.Object description_;
+ /**
+ *
+ *
+ * + * Optional. + * Description of license or certification. + * Number of characters allowed is 100,000. + *+ * + *
string description = 5;
+ */
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Description of license or certification. + * Number of characters allowed is 100,000. + *+ * + *
string description = 5;
+ */
+ 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);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getDisplayNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_);
+ }
+ if (acquireDate_ != null) {
+ output.writeMessage(2, getAcquireDate());
+ }
+ if (expireDate_ != null) {
+ output.writeMessage(3, getExpireDate());
+ }
+ if (!getAuthorityBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, authority_);
+ }
+ if (!getDescriptionBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getDisplayNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_);
+ }
+ if (acquireDate_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAcquireDate());
+ }
+ if (expireDate_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireDate());
+ }
+ if (!getAuthorityBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, authority_);
+ }
+ if (!getDescriptionBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.talent.v4beta1.Certification)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.Certification other =
+ (com.google.cloud.talent.v4beta1.Certification) obj;
+
+ boolean result = true;
+ result = result && getDisplayName().equals(other.getDisplayName());
+ result = result && (hasAcquireDate() == other.hasAcquireDate());
+ if (hasAcquireDate()) {
+ result = result && getAcquireDate().equals(other.getAcquireDate());
+ }
+ result = result && (hasExpireDate() == other.hasExpireDate());
+ if (hasExpireDate()) {
+ result = result && getExpireDate().equals(other.getExpireDate());
+ }
+ result = result && getAuthority().equals(other.getAuthority());
+ result = result && getDescription().equals(other.getDescription());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayName().hashCode();
+ if (hasAcquireDate()) {
+ hash = (37 * hash) + ACQUIRE_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + getAcquireDate().hashCode();
+ }
+ if (hasExpireDate()) {
+ hash = (37 * hash) + EXPIRE_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + getExpireDate().hashCode();
+ }
+ hash = (37 * hash) + AUTHORITY_FIELD_NUMBER;
+ hash = (53 * hash) + getAuthority().hashCode();
+ hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getDescription().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.Certification parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Certification parseFrom(
+ java.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.Certification parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Certification parseFrom(
+ com.google.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.Certification parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Certification parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Certification parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Certification parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Certification parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Certification 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.Certification parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Certification parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.cloud.talent.v4beta1.Certification prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Resource that represents a license or certification. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.Certification} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. + * Name of license or certification. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ 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;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Name of license or certification. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ 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);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Name of license or certification. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ public Builder setDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ displayName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Name of license or certification. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ public Builder clearDisplayName() {
+
+ displayName_ = getDefaultInstance().getDisplayName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Name of license or certification. + * Number of characters allowed is 100. + *+ * + *
string display_name = 1;
+ */
+ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ displayName_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.type.Date acquireDate_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ acquireDateBuilder_;
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ public boolean hasAcquireDate() {
+ return acquireDateBuilder_ != null || acquireDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ public com.google.type.Date getAcquireDate() {
+ if (acquireDateBuilder_ == null) {
+ return acquireDate_ == null ? com.google.type.Date.getDefaultInstance() : acquireDate_;
+ } else {
+ return acquireDateBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ public Builder setAcquireDate(com.google.type.Date value) {
+ if (acquireDateBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ acquireDate_ = value;
+ onChanged();
+ } else {
+ acquireDateBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ public Builder setAcquireDate(com.google.type.Date.Builder builderForValue) {
+ if (acquireDateBuilder_ == null) {
+ acquireDate_ = builderForValue.build();
+ onChanged();
+ } else {
+ acquireDateBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ public Builder mergeAcquireDate(com.google.type.Date value) {
+ if (acquireDateBuilder_ == null) {
+ if (acquireDate_ != null) {
+ acquireDate_ =
+ com.google.type.Date.newBuilder(acquireDate_).mergeFrom(value).buildPartial();
+ } else {
+ acquireDate_ = value;
+ }
+ onChanged();
+ } else {
+ acquireDateBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ public Builder clearAcquireDate() {
+ if (acquireDateBuilder_ == null) {
+ acquireDate_ = null;
+ onChanged();
+ } else {
+ acquireDate_ = null;
+ acquireDateBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ public com.google.type.Date.Builder getAcquireDateBuilder() {
+
+ onChanged();
+ return getAcquireDateFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ public com.google.type.DateOrBuilder getAcquireDateOrBuilder() {
+ if (acquireDateBuilder_ != null) {
+ return acquireDateBuilder_.getMessageOrBuilder();
+ } else {
+ return acquireDate_ == null ? com.google.type.Date.getDefaultInstance() : acquireDate_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Acquirement date or effective date of license or certification. + *+ * + *
.google.type.Date acquire_date = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ getAcquireDateFieldBuilder() {
+ if (acquireDateBuilder_ == null) {
+ acquireDateBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+ getAcquireDate(), getParentForChildren(), isClean());
+ acquireDate_ = null;
+ }
+ return acquireDateBuilder_;
+ }
+
+ private com.google.type.Date expireDate_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ expireDateBuilder_;
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ public boolean hasExpireDate() {
+ return expireDateBuilder_ != null || expireDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ public com.google.type.Date getExpireDate() {
+ if (expireDateBuilder_ == null) {
+ return expireDate_ == null ? com.google.type.Date.getDefaultInstance() : expireDate_;
+ } else {
+ return expireDateBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ public Builder setExpireDate(com.google.type.Date value) {
+ if (expireDateBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ expireDate_ = value;
+ onChanged();
+ } else {
+ expireDateBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ public Builder setExpireDate(com.google.type.Date.Builder builderForValue) {
+ if (expireDateBuilder_ == null) {
+ expireDate_ = builderForValue.build();
+ onChanged();
+ } else {
+ expireDateBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ public Builder mergeExpireDate(com.google.type.Date value) {
+ if (expireDateBuilder_ == null) {
+ if (expireDate_ != null) {
+ expireDate_ =
+ com.google.type.Date.newBuilder(expireDate_).mergeFrom(value).buildPartial();
+ } else {
+ expireDate_ = value;
+ }
+ onChanged();
+ } else {
+ expireDateBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ public Builder clearExpireDate() {
+ if (expireDateBuilder_ == null) {
+ expireDate_ = null;
+ onChanged();
+ } else {
+ expireDate_ = null;
+ expireDateBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ public com.google.type.Date.Builder getExpireDateBuilder() {
+
+ onChanged();
+ return getExpireDateFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ public com.google.type.DateOrBuilder getExpireDateOrBuilder() {
+ if (expireDateBuilder_ != null) {
+ return expireDateBuilder_.getMessageOrBuilder();
+ } else {
+ return expireDate_ == null ? com.google.type.Date.getDefaultInstance() : expireDate_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Expiration date of license of certification. + *+ * + *
.google.type.Date expire_date = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ getExpireDateFieldBuilder() {
+ if (expireDateBuilder_ == null) {
+ expireDateBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+ getExpireDate(), getParentForChildren(), isClean());
+ expireDate_ = null;
+ }
+ return expireDateBuilder_;
+ }
+
+ private java.lang.Object authority_ = "";
+ /**
+ *
+ *
+ * + * Optional. + * Authority of license, such as government. + * Number of characters allowed is 100. + *+ * + *
string authority = 4;
+ */
+ public java.lang.String getAuthority() {
+ java.lang.Object ref = authority_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ authority_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Authority of license, such as government. + * Number of characters allowed is 100. + *+ * + *
string authority = 4;
+ */
+ public com.google.protobuf.ByteString getAuthorityBytes() {
+ java.lang.Object ref = authority_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ authority_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Authority of license, such as government. + * Number of characters allowed is 100. + *+ * + *
string authority = 4;
+ */
+ public Builder setAuthority(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ authority_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Authority of license, such as government. + * Number of characters allowed is 100. + *+ * + *
string authority = 4;
+ */
+ public Builder clearAuthority() {
+
+ authority_ = getDefaultInstance().getAuthority();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Authority of license, such as government. + * Number of characters allowed is 100. + *+ * + *
string authority = 4;
+ */
+ public Builder setAuthorityBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ authority_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object description_ = "";
+ /**
+ *
+ *
+ * + * Optional. + * Description of license or certification. + * Number of characters allowed is 100,000. + *+ * + *
string description = 5;
+ */
+ 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;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Description of license or certification. + * Number of characters allowed is 100,000. + *+ * + *
string description = 5;
+ */
+ 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);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Description of license or certification. + * Number of characters allowed is 100,000. + *+ * + *
string description = 5;
+ */
+ public Builder setDescription(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ description_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Description of license or certification. + * Number of characters allowed is 100,000. + *+ * + *
string description = 5;
+ */
+ public Builder clearDescription() {
+
+ description_ = getDefaultInstance().getDescription();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Description of license or certification. + * Number of characters allowed is 100,000. + *+ * + *
string description = 5;
+ */
+ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ description_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Certification)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Certification)
+ private static final com.google.cloud.talent.v4beta1.Certification DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Certification();
+ }
+
+ public static com.google.cloud.talent.v4beta1.Certification getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser