diff --git a/google-api-grpc/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceGrpc.java b/google-api-grpc/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceGrpc.java new file mode 100644 index 000000000000..b781e3cd3b5e --- /dev/null +++ b/google-api-grpc/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceGrpc.java @@ -0,0 +1,873 @@ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; +import static io.grpc.stub.ClientCalls.asyncUnaryCall; +import static io.grpc.stub.ClientCalls.blockingUnaryCall; +import static io.grpc.stub.ClientCalls.futureUnaryCall; +import static io.grpc.stub.ServerCalls.asyncUnaryCall; +import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; + +/** + * + * + *
+ * A service that handles application management, including CRUD and + * enumeration. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/talent/v4beta1/application_service.proto") +public final class ApplicationServiceGrpc { + + private ApplicationServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.ApplicationService"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getCreateApplicationMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateApplicationRequest, + com.google.cloud.talent.v4beta1.Application> + METHOD_CREATE_APPLICATION = getCreateApplicationMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateApplicationRequest, + com.google.cloud.talent.v4beta1.Application> + getCreateApplicationMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateApplicationRequest, + com.google.cloud.talent.v4beta1.Application> + getCreateApplicationMethod() { + return getCreateApplicationMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateApplicationRequest, + com.google.cloud.talent.v4beta1.Application> + getCreateApplicationMethodHelper() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateApplicationRequest, + com.google.cloud.talent.v4beta1.Application> + getCreateApplicationMethod; + if ((getCreateApplicationMethod = ApplicationServiceGrpc.getCreateApplicationMethod) == null) { + synchronized (ApplicationServiceGrpc.class) { + if ((getCreateApplicationMethod = ApplicationServiceGrpc.getCreateApplicationMethod) + == null) { + ApplicationServiceGrpc.getCreateApplicationMethod = + getCreateApplicationMethod = + io.grpc.MethodDescriptor + .
+ * A service that handles application management, including CRUD and + * enumeration. + *+ */ + public abstract static class ApplicationServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+ * Creates a new application entity. + *+ */ + public void createApplication( + com.google.cloud.talent.v4beta1.CreateApplicationRequest request, + io.grpc.stub.StreamObserver
+ * Retrieves specified application. + *+ */ + public void getApplication( + com.google.cloud.talent.v4beta1.GetApplicationRequest request, + io.grpc.stub.StreamObserver
+ * Updates specified application. + *+ */ + public void updateApplication( + com.google.cloud.talent.v4beta1.UpdateApplicationRequest request, + io.grpc.stub.StreamObserver
+ * Deletes specified application. + *+ */ + public void deleteApplication( + com.google.cloud.talent.v4beta1.DeleteApplicationRequest request, + io.grpc.stub.StreamObserver
+ * Lists all applications associated with the profile. + *+ */ + public void listApplications( + com.google.cloud.talent.v4beta1.ListApplicationsRequest request, + io.grpc.stub.StreamObserver
+ * A service that handles application management, including CRUD and + * enumeration. + *+ */ + public static final class ApplicationServiceStub + extends io.grpc.stub.AbstractStub
+ * Creates a new application entity. + *+ */ + public void createApplication( + com.google.cloud.talent.v4beta1.CreateApplicationRequest request, + io.grpc.stub.StreamObserver
+ * Retrieves specified application. + *+ */ + public void getApplication( + com.google.cloud.talent.v4beta1.GetApplicationRequest request, + io.grpc.stub.StreamObserver
+ * Updates specified application. + *+ */ + public void updateApplication( + com.google.cloud.talent.v4beta1.UpdateApplicationRequest request, + io.grpc.stub.StreamObserver
+ * Deletes specified application. + *+ */ + public void deleteApplication( + com.google.cloud.talent.v4beta1.DeleteApplicationRequest request, + io.grpc.stub.StreamObserver
+ * Lists all applications associated with the profile. + *+ */ + public void listApplications( + com.google.cloud.talent.v4beta1.ListApplicationsRequest request, + io.grpc.stub.StreamObserver
+ * A service that handles application management, including CRUD and + * enumeration. + *+ */ + public static final class ApplicationServiceBlockingStub + extends io.grpc.stub.AbstractStub
+ * Creates a new application entity. + *+ */ + public com.google.cloud.talent.v4beta1.Application createApplication( + com.google.cloud.talent.v4beta1.CreateApplicationRequest request) { + return blockingUnaryCall( + getChannel(), getCreateApplicationMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Retrieves specified application. + *+ */ + public com.google.cloud.talent.v4beta1.Application getApplication( + com.google.cloud.talent.v4beta1.GetApplicationRequest request) { + return blockingUnaryCall( + getChannel(), getGetApplicationMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Updates specified application. + *+ */ + public com.google.cloud.talent.v4beta1.Application updateApplication( + com.google.cloud.talent.v4beta1.UpdateApplicationRequest request) { + return blockingUnaryCall( + getChannel(), getUpdateApplicationMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Deletes specified application. + *+ */ + public com.google.protobuf.Empty deleteApplication( + com.google.cloud.talent.v4beta1.DeleteApplicationRequest request) { + return blockingUnaryCall( + getChannel(), getDeleteApplicationMethodHelper(), getCallOptions(), request); + } + + /** + * + * + *
+ * Lists all applications associated with the profile. + *+ */ + public com.google.cloud.talent.v4beta1.ListApplicationsResponse listApplications( + com.google.cloud.talent.v4beta1.ListApplicationsRequest request) { + return blockingUnaryCall( + getChannel(), getListApplicationsMethodHelper(), getCallOptions(), request); + } + } + + /** + * + * + *
+ * A service that handles application management, including CRUD and + * enumeration. + *+ */ + public static final class ApplicationServiceFutureStub + extends io.grpc.stub.AbstractStub
+ * Creates a new application entity. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Application> + createApplication(com.google.cloud.talent.v4beta1.CreateApplicationRequest request) { + return futureUnaryCall( + getChannel().newCall(getCreateApplicationMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+ * Retrieves specified application. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Application> + getApplication(com.google.cloud.talent.v4beta1.GetApplicationRequest request) { + return futureUnaryCall( + getChannel().newCall(getGetApplicationMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+ * Updates specified application. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Application> + updateApplication(com.google.cloud.talent.v4beta1.UpdateApplicationRequest request) { + return futureUnaryCall( + getChannel().newCall(getUpdateApplicationMethodHelper(), getCallOptions()), request); + } + + /** + * + * + *
+ * Deletes specified application. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Lists all applications associated with the profile. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.ListApplicationsResponse> + listApplications(com.google.cloud.talent.v4beta1.ListApplicationsRequest request) { + return futureUnaryCall( + getChannel().newCall(getListApplicationsMethodHelper(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_APPLICATION = 0; + private static final int METHODID_GET_APPLICATION = 1; + private static final int METHODID_UPDATE_APPLICATION = 2; + private static final int METHODID_DELETE_APPLICATION = 3; + private static final int METHODID_LIST_APPLICATIONS = 4; + + private static final class MethodHandlers
* Deletes the specified profile. + * Prerequisite: The profile has no associated applications or assignments + * associated. **/ public void deleteProfile( @@ -619,6 +621,8 @@ public void updateProfile( * *
* Deletes the specified profile. + * Prerequisite: The profile has no associated applications or assignments + * associated. **/ public void deleteProfile( @@ -734,6 +738,8 @@ public com.google.cloud.talent.v4beta1.Profile updateProfile( * *
* Deletes the specified profile. + * Prerequisite: The profile has no associated applications or assignments + * associated. **/ public com.google.protobuf.Empty deleteProfile( @@ -846,6 +852,8 @@ protected ProfileServiceFutureStub build( * *
* Deletes the specified profile. + * Prerequisite: The profile has no associated applications or assignments + * associated. **/ public com.google.common.util.concurrent.ListenableFuture
- * 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
.google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- public boolean hasIsCurrent() {
- return isCurrent_ != null;
+ public boolean hasCurrent() {
+ return current_ != null;
}
/**
*
@@ -333,10 +333,10 @@ public boolean hasIsCurrent() {
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- public com.google.protobuf.BoolValue getIsCurrent() {
- return isCurrent_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isCurrent_;
+ public com.google.protobuf.BoolValue getCurrent() {
+ return current_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : current_;
}
/**
*
@@ -346,10 +346,10 @@ public com.google.protobuf.BoolValue getIsCurrent() {
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- public com.google.protobuf.BoolValueOrBuilder getIsCurrentOrBuilder() {
- return getIsCurrent();
+ public com.google.protobuf.BoolValueOrBuilder getCurrentOrBuilder() {
+ return getCurrent();
}
private byte memoizedIsInitialized = -1;
@@ -377,8 +377,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (addressCase_ == 3) {
output.writeMessage(3, (com.google.type.PostalAddress) address_);
}
- if (isCurrent_ != null) {
- output.writeMessage(4, getIsCurrent());
+ if (current_ != null) {
+ output.writeMessage(4, getCurrent());
}
unknownFields.writeTo(output);
}
@@ -402,8 +402,8 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
3, (com.google.type.PostalAddress) address_);
}
- if (isCurrent_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIsCurrent());
+ if (current_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCurrent());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -422,9 +422,9 @@ public boolean equals(final java.lang.Object obj) {
boolean result = true;
result = result && usage_ == other.usage_;
- result = result && (hasIsCurrent() == other.hasIsCurrent());
- if (hasIsCurrent()) {
- result = result && getIsCurrent().equals(other.getIsCurrent());
+ result = result && (hasCurrent() == other.hasCurrent());
+ if (hasCurrent()) {
+ result = result && getCurrent().equals(other.getCurrent());
}
result = result && getAddressCase().equals(other.getAddressCase());
if (!result) return false;
@@ -451,9 +451,9 @@ public int hashCode() {
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();
+ if (hasCurrent()) {
+ hash = (37 * hash) + CURRENT_FIELD_NUMBER;
+ hash = (53 * hash) + getCurrent().hashCode();
}
switch (addressCase_) {
case 2:
@@ -614,11 +614,11 @@ public Builder clear() {
super.clear();
usage_ = 0;
- if (isCurrentBuilder_ == null) {
- isCurrent_ = null;
+ if (currentBuilder_ == null) {
+ current_ = null;
} else {
- isCurrent_ = null;
- isCurrentBuilder_ = null;
+ current_ = null;
+ currentBuilder_ = null;
}
addressCase_ = 0;
address_ = null;
@@ -660,10 +660,10 @@ public com.google.cloud.talent.v4beta1.Address buildPartial() {
result.address_ = structuredAddressBuilder_.build();
}
}
- if (isCurrentBuilder_ == null) {
- result.isCurrent_ = isCurrent_;
+ if (currentBuilder_ == null) {
+ result.current_ = current_;
} else {
- result.isCurrent_ = isCurrentBuilder_.build();
+ result.current_ = currentBuilder_.build();
}
result.addressCase_ = addressCase_;
onBuilt();
@@ -718,8 +718,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Address other) {
if (other.usage_ != 0) {
setUsageValue(other.getUsageValue());
}
- if (other.hasIsCurrent()) {
- mergeIsCurrent(other.getIsCurrent());
+ if (other.hasCurrent()) {
+ mergeCurrent(other.getCurrent());
}
switch (other.getAddressCase()) {
case UNSTRUCTURED_ADDRESS:
@@ -1205,12 +1205,12 @@ public com.google.type.PostalAddressOrBuilder getStructuredAddressOrBuilder() {
return structuredAddressBuilder_;
}
- private com.google.protobuf.BoolValue isCurrent_ = null;
+ private com.google.protobuf.BoolValue current_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue,
com.google.protobuf.BoolValue.Builder,
com.google.protobuf.BoolValueOrBuilder>
- isCurrentBuilder_;
+ currentBuilder_;
/**
*
*
@@ -1219,10 +1219,10 @@ public com.google.type.PostalAddressOrBuilder getStructuredAddressOrBuilder() {
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- public boolean hasIsCurrent() {
- return isCurrentBuilder_ != null || isCurrent_ != null;
+ public boolean hasCurrent() {
+ return currentBuilder_ != null || current_ != null;
}
/**
*
@@ -1232,13 +1232,13 @@ public boolean hasIsCurrent() {
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- public com.google.protobuf.BoolValue getIsCurrent() {
- if (isCurrentBuilder_ == null) {
- return isCurrent_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isCurrent_;
+ public com.google.protobuf.BoolValue getCurrent() {
+ if (currentBuilder_ == null) {
+ return current_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : current_;
} else {
- return isCurrentBuilder_.getMessage();
+ return currentBuilder_.getMessage();
}
}
/**
@@ -1249,17 +1249,17 @@ public com.google.protobuf.BoolValue getIsCurrent() {
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- public Builder setIsCurrent(com.google.protobuf.BoolValue value) {
- if (isCurrentBuilder_ == null) {
+ public Builder setCurrent(com.google.protobuf.BoolValue value) {
+ if (currentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- isCurrent_ = value;
+ current_ = value;
onChanged();
} else {
- isCurrentBuilder_.setMessage(value);
+ currentBuilder_.setMessage(value);
}
return this;
@@ -1272,14 +1272,14 @@ public Builder setIsCurrent(com.google.protobuf.BoolValue value) {
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- public Builder setIsCurrent(com.google.protobuf.BoolValue.Builder builderForValue) {
- if (isCurrentBuilder_ == null) {
- isCurrent_ = builderForValue.build();
+ public Builder setCurrent(com.google.protobuf.BoolValue.Builder builderForValue) {
+ if (currentBuilder_ == null) {
+ current_ = builderForValue.build();
onChanged();
} else {
- isCurrentBuilder_.setMessage(builderForValue.build());
+ currentBuilder_.setMessage(builderForValue.build());
}
return this;
@@ -1292,19 +1292,19 @@ public Builder setIsCurrent(com.google.protobuf.BoolValue.Builder builderForValu
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue 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();
+ public Builder mergeCurrent(com.google.protobuf.BoolValue value) {
+ if (currentBuilder_ == null) {
+ if (current_ != null) {
+ current_ =
+ com.google.protobuf.BoolValue.newBuilder(current_).mergeFrom(value).buildPartial();
} else {
- isCurrent_ = value;
+ current_ = value;
}
onChanged();
} else {
- isCurrentBuilder_.mergeFrom(value);
+ currentBuilder_.mergeFrom(value);
}
return this;
@@ -1317,15 +1317,15 @@ public Builder mergeIsCurrent(com.google.protobuf.BoolValue value) {
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- public Builder clearIsCurrent() {
- if (isCurrentBuilder_ == null) {
- isCurrent_ = null;
+ public Builder clearCurrent() {
+ if (currentBuilder_ == null) {
+ current_ = null;
onChanged();
} else {
- isCurrent_ = null;
- isCurrentBuilder_ = null;
+ current_ = null;
+ currentBuilder_ = null;
}
return this;
@@ -1338,12 +1338,12 @@ public Builder clearIsCurrent() {
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- public com.google.protobuf.BoolValue.Builder getIsCurrentBuilder() {
+ public com.google.protobuf.BoolValue.Builder getCurrentBuilder() {
onChanged();
- return getIsCurrentFieldBuilder().getBuilder();
+ return getCurrentFieldBuilder().getBuilder();
}
/**
*
@@ -1353,13 +1353,13 @@ public com.google.protobuf.BoolValue.Builder getIsCurrentBuilder() {
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- public com.google.protobuf.BoolValueOrBuilder getIsCurrentOrBuilder() {
- if (isCurrentBuilder_ != null) {
- return isCurrentBuilder_.getMessageOrBuilder();
+ public com.google.protobuf.BoolValueOrBuilder getCurrentOrBuilder() {
+ if (currentBuilder_ != null) {
+ return currentBuilder_.getMessageOrBuilder();
} else {
- return isCurrent_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isCurrent_;
+ return current_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : current_;
}
}
/**
@@ -1370,23 +1370,23 @@ public com.google.protobuf.BoolValueOrBuilder getIsCurrentOrBuilder() {
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue 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_ =
+ getCurrentFieldBuilder() {
+ if (currentBuilder_ == null) {
+ currentBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue,
com.google.protobuf.BoolValue.Builder,
com.google.protobuf.BoolValueOrBuilder>(
- getIsCurrent(), getParentForChildren(), isClean());
- isCurrent_ = null;
+ getCurrent(), getParentForChildren(), isClean());
+ current_ = null;
}
- return isCurrentBuilder_;
+ return currentBuilder_;
}
@java.lang.Override
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
index b802c5c1fdfa..0aee557f0b18 100644
--- 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
@@ -105,9 +105,9 @@ public interface AddressOrBuilder
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- boolean hasIsCurrent();
+ boolean hasCurrent();
/**
*
*
@@ -116,9 +116,9 @@ public interface AddressOrBuilder
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- com.google.protobuf.BoolValue getIsCurrent();
+ com.google.protobuf.BoolValue getCurrent();
/**
*
*
@@ -127,9 +127,9 @@ public interface AddressOrBuilder
* Indicates if it's the person's current address.
*
*
- * .google.protobuf.BoolValue is_current = 4;
+ * .google.protobuf.BoolValue current = 4;
*/
- com.google.protobuf.BoolValueOrBuilder getIsCurrentOrBuilder();
+ com.google.protobuf.BoolValueOrBuilder getCurrentOrBuilder();
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/Application.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Application.java
new file mode 100644
index 000000000000..c6091c383335
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Application.java
@@ -0,0 +1,4599 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/application.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Resource that represents a job application record of a candidate. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.Application} + */ +public final class Application extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Application) + ApplicationOrBuilder { + private static final long serialVersionUID = 0L; + // Use Application.newBuilder() to construct. + private Application(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private Application() { + name_ = ""; + externalId_ = ""; + profile_ = ""; + job_ = ""; + company_ = ""; + stage_ = 0; + state_ = 0; + interviews_ = java.util.Collections.emptyList(); + outcomeNotes_ = ""; + outcome_ = 0; + jobTitleSnippet_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Application( + 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(); + + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + profile_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + job_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + company_ = s; + break; + } + case 58: + { + com.google.type.Date.Builder subBuilder = null; + if (applicationDate_ != null) { + subBuilder = applicationDate_.toBuilder(); + } + applicationDate_ = + input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(applicationDate_); + applicationDate_ = subBuilder.buildPartial(); + } + + break; + } + case 88: + { + int rawValue = input.readEnum(); + + stage_ = rawValue; + break; + } + case 104: + { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 130: + { + if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { + interviews_ = new java.util.ArrayList
+ * Enum that represents the application status. + *+ * + * Protobuf enum {@code google.cloud.talent.v4beta1.Application.ApplicationState} + */ + public enum ApplicationState implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Default value. + *+ * + *
APPLICATION_STATE_UNSPECIFIED = 0;
+ */
+ APPLICATION_STATE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * The current stage is in progress or pending, for example, interviews in + * progress. + *+ * + *
IN_PROGRESS = 1;
+ */
+ IN_PROGRESS(1),
+ /**
+ *
+ *
+ * + * The current stage was terminated by a candidate decision. + *+ * + *
CANDIDATE_WITHDREW = 2;
+ */
+ CANDIDATE_WITHDREW(2),
+ /**
+ *
+ *
+ * + * The current stage was terminated by an employer or agency decision. + *+ * + *
EMPLOYER_WITHDREW = 3;
+ */
+ EMPLOYER_WITHDREW(3),
+ /**
+ *
+ *
+ * + * The current stage is successfully completed, but the next stage (if + * applicable) has not begun. + *+ * + *
COMPLETED = 4;
+ */
+ COMPLETED(4),
+ /**
+ *
+ *
+ * + * The current stage was closed without an exception, or terminated for + * reasons unrealated to the candidate. + *+ * + *
CLOSED = 5;
+ */
+ CLOSED(5),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Default value. + *+ * + *
APPLICATION_STATE_UNSPECIFIED = 0;
+ */
+ public static final int APPLICATION_STATE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * The current stage is in progress or pending, for example, interviews in + * progress. + *+ * + *
IN_PROGRESS = 1;
+ */
+ public static final int IN_PROGRESS_VALUE = 1;
+ /**
+ *
+ *
+ * + * The current stage was terminated by a candidate decision. + *+ * + *
CANDIDATE_WITHDREW = 2;
+ */
+ public static final int CANDIDATE_WITHDREW_VALUE = 2;
+ /**
+ *
+ *
+ * + * The current stage was terminated by an employer or agency decision. + *+ * + *
EMPLOYER_WITHDREW = 3;
+ */
+ public static final int EMPLOYER_WITHDREW_VALUE = 3;
+ /**
+ *
+ *
+ * + * The current stage is successfully completed, but the next stage (if + * applicable) has not begun. + *+ * + *
COMPLETED = 4;
+ */
+ public static final int COMPLETED_VALUE = 4;
+ /**
+ *
+ *
+ * + * The current stage was closed without an exception, or terminated for + * reasons unrealated to the candidate. + *+ * + *
CLOSED = 5;
+ */
+ public static final int CLOSED_VALUE = 5;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /** @deprecated Use {@link #forNumber(int)} instead. */
+ @java.lang.Deprecated
+ public static ApplicationState valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static ApplicationState forNumber(int value) {
+ switch (value) {
+ case 0:
+ return APPLICATION_STATE_UNSPECIFIED;
+ case 1:
+ return IN_PROGRESS;
+ case 2:
+ return CANDIDATE_WITHDREW;
+ case 3:
+ return EMPLOYER_WITHDREW;
+ case 4:
+ return COMPLETED;
+ case 5:
+ return CLOSED;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * The stage of the application. + *+ * + * Protobuf enum {@code google.cloud.talent.v4beta1.Application.ApplicationStage} + */ + public enum ApplicationStage implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Default value. + *+ * + *
APPLICATION_STAGE_UNSPECIFIED = 0;
+ */
+ APPLICATION_STAGE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * Candidate has applied or a recruiter put candidate into consideration but + * candidate is not yet screened / no decision has been made to move or not + * move the candidate to the next stage. + *+ * + *
NEW = 1;
+ */
+ NEW(1),
+ /**
+ *
+ *
+ * + * A recruiter decided to screen the candidate for this role. + *+ * + *
SCREEN = 2;
+ */
+ SCREEN(2),
+ /**
+ *
+ *
+ * + * Candidate is being / was sent to the customer / hiring manager for + * detailed review. + *+ * + *
HIRING_MANAGER_REVIEW = 3;
+ */
+ HIRING_MANAGER_REVIEW(3),
+ /**
+ *
+ *
+ * + * Candidate was approved by the client / hiring manager and is being / was + * interviewed for the role. + *+ * + *
INTERVIEW = 4;
+ */
+ INTERVIEW(4),
+ /**
+ *
+ *
+ * + * Candidate will be / has been given an offer of employment. + *+ * + *
OFFER_EXTENDED = 5;
+ */
+ OFFER_EXTENDED(5),
+ /**
+ *
+ *
+ * + * Candidate has accepted their offer of employment. + *+ * + *
OFFER_ACCEPTED = 6;
+ */
+ OFFER_ACCEPTED(6),
+ /**
+ *
+ *
+ * + * Candidate has begun (or completed) their employment or assignment with + * the employer. + *+ * + *
STARTED = 7;
+ */
+ STARTED(7),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Default value. + *+ * + *
APPLICATION_STAGE_UNSPECIFIED = 0;
+ */
+ public static final int APPLICATION_STAGE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * Candidate has applied or a recruiter put candidate into consideration but + * candidate is not yet screened / no decision has been made to move or not + * move the candidate to the next stage. + *+ * + *
NEW = 1;
+ */
+ public static final int NEW_VALUE = 1;
+ /**
+ *
+ *
+ * + * A recruiter decided to screen the candidate for this role. + *+ * + *
SCREEN = 2;
+ */
+ public static final int SCREEN_VALUE = 2;
+ /**
+ *
+ *
+ * + * Candidate is being / was sent to the customer / hiring manager for + * detailed review. + *+ * + *
HIRING_MANAGER_REVIEW = 3;
+ */
+ public static final int HIRING_MANAGER_REVIEW_VALUE = 3;
+ /**
+ *
+ *
+ * + * Candidate was approved by the client / hiring manager and is being / was + * interviewed for the role. + *+ * + *
INTERVIEW = 4;
+ */
+ public static final int INTERVIEW_VALUE = 4;
+ /**
+ *
+ *
+ * + * Candidate will be / has been given an offer of employment. + *+ * + *
OFFER_EXTENDED = 5;
+ */
+ public static final int OFFER_EXTENDED_VALUE = 5;
+ /**
+ *
+ *
+ * + * Candidate has accepted their offer of employment. + *+ * + *
OFFER_ACCEPTED = 6;
+ */
+ public static final int OFFER_ACCEPTED_VALUE = 6;
+ /**
+ *
+ *
+ * + * Candidate has begun (or completed) their employment or assignment with + * the employer. + *+ * + *
STARTED = 7;
+ */
+ public static final int STARTED_VALUE = 7;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /** @deprecated Use {@link #forNumber(int)} instead. */
+ @java.lang.Deprecated
+ public static ApplicationStage valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static ApplicationStage forNumber(int value) {
+ switch (value) {
+ case 0:
+ return APPLICATION_STAGE_UNSPECIFIED;
+ case 1:
+ return NEW;
+ case 2:
+ return SCREEN;
+ case 3:
+ return HIRING_MANAGER_REVIEW;
+ case 4:
+ return INTERVIEW;
+ case 5:
+ return OFFER_EXTENDED;
+ case 6:
+ return OFFER_ACCEPTED;
+ case 7:
+ return STARTED;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * Required during application update. + * Resource name assigned to an application by the API. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/api-test-project/tenants/foo/profiles/bar/applications/baz". + *+ * + *
string name = 1;
+ */
+ 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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required during application update. + * Resource name assigned to an application by the API. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/api-test-project/tenants/foo/profiles/bar/applications/baz". + *+ * + *
string name = 1;
+ */
+ 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 EXTERNAL_ID_FIELD_NUMBER = 31;
+ private volatile java.lang.Object externalId_;
+ /**
+ *
+ *
+ * + * Required. + * Client side application identifier, used to uniquely identify the + * recruiter. + * The maximum number of allowed characters is 255. + *+ * + *
string external_id = 31;
+ */
+ public java.lang.String getExternalId() {
+ java.lang.Object ref = externalId_;
+ 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();
+ externalId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * Client side application identifier, used to uniquely identify the + * recruiter. + * The maximum number of allowed characters is 255. + *+ * + *
string external_id = 31;
+ */
+ public com.google.protobuf.ByteString getExternalIdBytes() {
+ java.lang.Object ref = externalId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ externalId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PROFILE_FIELD_NUMBER = 2;
+ private volatile java.lang.Object profile_;
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the candidate of this application. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", + * for example, "projects/api-test-project/tenants/foo/profiles/bar". + *+ * + *
string profile = 2;
+ */
+ public java.lang.String getProfile() {
+ java.lang.Object ref = profile_;
+ 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();
+ profile_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the candidate of this application. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", + * for example, "projects/api-test-project/tenants/foo/profiles/bar". + *+ * + *
string profile = 2;
+ */
+ public com.google.protobuf.ByteString getProfileBytes() {
+ java.lang.Object ref = profile_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ profile_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int JOB_FIELD_NUMBER = 4;
+ private volatile java.lang.Object job_;
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the job which the candidate applied for. + * The format is + * "projects/{project_id}/jobs/{job_id}", + * for example, "projects/api-test-project/jobs/bar". + *+ * + *
string job = 4;
+ */
+ public java.lang.String getJob() {
+ java.lang.Object ref = job_;
+ 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();
+ job_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the job which the candidate applied for. + * The format is + * "projects/{project_id}/jobs/{job_id}", + * for example, "projects/api-test-project/jobs/bar". + *+ * + *
string job = 4;
+ */
+ public com.google.protobuf.ByteString getJobBytes() {
+ java.lang.Object ref = job_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ job_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int COMPANY_FIELD_NUMBER = 5;
+ private volatile java.lang.Object company_;
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the company which the candidate applied for. + * The format is + * "projects/{project_id}/companies/{company_id}", + * for example, "projects/api-test-project/companies/foo". + *+ * + *
string company = 5;
+ */
+ public java.lang.String getCompany() {
+ java.lang.Object ref = company_;
+ 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();
+ company_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the company which the candidate applied for. + * The format is + * "projects/{project_id}/companies/{company_id}", + * for example, "projects/api-test-project/companies/foo". + *+ * + *
string company = 5;
+ */
+ public com.google.protobuf.ByteString getCompanyBytes() {
+ java.lang.Object ref = company_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ company_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int APPLICATION_DATE_FIELD_NUMBER = 7;
+ private com.google.type.Date applicationDate_;
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ public boolean hasApplicationDate() {
+ return applicationDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ public com.google.type.Date getApplicationDate() {
+ return applicationDate_ == null ? com.google.type.Date.getDefaultInstance() : applicationDate_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ public com.google.type.DateOrBuilder getApplicationDateOrBuilder() {
+ return getApplicationDate();
+ }
+
+ public static final int STAGE_FIELD_NUMBER = 11;
+ private int stage_;
+ /**
+ *
+ *
+ * + * Required. + * What is the most recent stage of the application (that is, new, screen, + * send cv, hired, finished work)? This field is intentionally not + * comprehensive of every possible status, but instead, represents statuses + * that would be used to indicate to the ML models good / bad matches. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationStage stage = 11;
+ */
+ public int getStageValue() {
+ return stage_;
+ }
+ /**
+ *
+ *
+ * + * Required. + * What is the most recent stage of the application (that is, new, screen, + * send cv, hired, finished work)? This field is intentionally not + * comprehensive of every possible status, but instead, represents statuses + * that would be used to indicate to the ML models good / bad matches. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationStage stage = 11;
+ */
+ public com.google.cloud.talent.v4beta1.Application.ApplicationStage getStage() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.Application.ApplicationStage result =
+ com.google.cloud.talent.v4beta1.Application.ApplicationStage.valueOf(stage_);
+ return result == null
+ ? com.google.cloud.talent.v4beta1.Application.ApplicationStage.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int STATE_FIELD_NUMBER = 13;
+ private int state_;
+ /**
+ *
+ *
+ * + * Optional. + * The application state. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationState state = 13;
+ */
+ public int getStateValue() {
+ return state_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application state. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationState state = 13;
+ */
+ public com.google.cloud.talent.v4beta1.Application.ApplicationState getState() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.Application.ApplicationState result =
+ com.google.cloud.talent.v4beta1.Application.ApplicationState.valueOf(state_);
+ return result == null
+ ? com.google.cloud.talent.v4beta1.Application.ApplicationState.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int INTERVIEWS_FIELD_NUMBER = 16;
+ private java.util.List+ * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public java.util.List+ * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public java.util.List extends com.google.cloud.talent.v4beta1.InterviewOrBuilder>
+ getInterviewsOrBuilderList() {
+ return interviews_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public int getInterviewsCount() {
+ return interviews_.size();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public com.google.cloud.talent.v4beta1.Interview getInterviews(int index) {
+ return interviews_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public com.google.cloud.talent.v4beta1.InterviewOrBuilder getInterviewsOrBuilder(int index) {
+ return interviews_.get(index);
+ }
+
+ public static final int REFERRAL_FIELD_NUMBER = 18;
+ private com.google.protobuf.BoolValue referral_;
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ public boolean hasReferral() {
+ return referral_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ public com.google.protobuf.BoolValue getReferral() {
+ return referral_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : referral_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ public com.google.protobuf.BoolValueOrBuilder getReferralOrBuilder() {
+ return getReferral();
+ }
+
+ public static final int CREATE_TIME_FIELD_NUMBER = 19;
+ private com.google.protobuf.Timestamp createTime_;
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ public boolean hasCreateTime() {
+ return createTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ public com.google.protobuf.Timestamp getCreateTime() {
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
+ return getCreateTime();
+ }
+
+ public static final int UPDATE_TIME_FIELD_NUMBER = 20;
+ private com.google.protobuf.Timestamp updateTime_;
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ public boolean hasUpdateTime() {
+ return updateTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ public com.google.protobuf.Timestamp getUpdateTime() {
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
+ return getUpdateTime();
+ }
+
+ public static final int OUTCOME_NOTES_FIELD_NUMBER = 21;
+ private volatile java.lang.Object outcomeNotes_;
+ /**
+ *
+ *
+ * + * Optional. + * Free text reason behind the recruitement outcome (for example, reason for + * withdraw / reject, reason for an unsuccessful finish, and so on). + * Number of characters allowed is 100. + *+ * + *
string outcome_notes = 21;
+ */
+ public java.lang.String getOutcomeNotes() {
+ java.lang.Object ref = outcomeNotes_;
+ 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();
+ outcomeNotes_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Free text reason behind the recruitement outcome (for example, reason for + * withdraw / reject, reason for an unsuccessful finish, and so on). + * Number of characters allowed is 100. + *+ * + *
string outcome_notes = 21;
+ */
+ public com.google.protobuf.ByteString getOutcomeNotesBytes() {
+ java.lang.Object ref = outcomeNotes_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ outcomeNotes_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int OUTCOME_FIELD_NUMBER = 22;
+ private int outcome_;
+ /**
+ *
+ *
+ * + * Optional. + * Outcome positiveness shows how positive the outcome is. + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 22;
+ */
+ public int getOutcomeValue() {
+ return outcome_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Outcome positiveness shows how positive the outcome is. + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 22;
+ */
+ public com.google.cloud.talent.v4beta1.Outcome getOutcome() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.Outcome result =
+ com.google.cloud.talent.v4beta1.Outcome.valueOf(outcome_);
+ return result == null ? com.google.cloud.talent.v4beta1.Outcome.UNRECOGNIZED : result;
+ }
+
+ public static final int IS_MATCH_FIELD_NUMBER = 28;
+ private com.google.protobuf.BoolValue isMatch_;
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ public boolean hasIsMatch() {
+ return isMatch_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ public com.google.protobuf.BoolValue getIsMatch() {
+ return isMatch_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isMatch_;
+ }
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ public com.google.protobuf.BoolValueOrBuilder getIsMatchOrBuilder() {
+ return getIsMatch();
+ }
+
+ public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER = 29;
+ private volatile java.lang.Object jobTitleSnippet_;
+ /**
+ *
+ *
+ * + * Output only. Job title snippet shows how the job title is related to a + * search query. It's empty if the job title isn't related to the search + * query. + *+ * + *
string job_title_snippet = 29;
+ */
+ public java.lang.String getJobTitleSnippet() {
+ java.lang.Object ref = jobTitleSnippet_;
+ 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();
+ jobTitleSnippet_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Job title snippet shows how the job title is related to a + * search query. It's empty if the job title isn't related to the search + * query. + *+ * + *
string job_title_snippet = 29;
+ */
+ public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
+ java.lang.Object ref = jobTitleSnippet_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ jobTitleSnippet_ = 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 (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ if (!getProfileBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, profile_);
+ }
+ if (!getJobBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, job_);
+ }
+ if (!getCompanyBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, company_);
+ }
+ if (applicationDate_ != null) {
+ output.writeMessage(7, getApplicationDate());
+ }
+ if (stage_
+ != com.google.cloud.talent.v4beta1.Application.ApplicationStage
+ .APPLICATION_STAGE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(11, stage_);
+ }
+ if (state_
+ != com.google.cloud.talent.v4beta1.Application.ApplicationState
+ .APPLICATION_STATE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(13, state_);
+ }
+ for (int i = 0; i < interviews_.size(); i++) {
+ output.writeMessage(16, interviews_.get(i));
+ }
+ if (referral_ != null) {
+ output.writeMessage(18, getReferral());
+ }
+ if (createTime_ != null) {
+ output.writeMessage(19, getCreateTime());
+ }
+ if (updateTime_ != null) {
+ output.writeMessage(20, getUpdateTime());
+ }
+ if (!getOutcomeNotesBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 21, outcomeNotes_);
+ }
+ if (outcome_ != com.google.cloud.talent.v4beta1.Outcome.OUTCOME_UNSPECIFIED.getNumber()) {
+ output.writeEnum(22, outcome_);
+ }
+ if (isMatch_ != null) {
+ output.writeMessage(28, getIsMatch());
+ }
+ if (!getJobTitleSnippetBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 29, jobTitleSnippet_);
+ }
+ if (!getExternalIdBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 31, externalId_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ if (!getProfileBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, profile_);
+ }
+ if (!getJobBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, job_);
+ }
+ if (!getCompanyBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, company_);
+ }
+ if (applicationDate_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApplicationDate());
+ }
+ if (stage_
+ != com.google.cloud.talent.v4beta1.Application.ApplicationStage
+ .APPLICATION_STAGE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, stage_);
+ }
+ if (state_
+ != com.google.cloud.talent.v4beta1.Application.ApplicationState
+ .APPLICATION_STATE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, state_);
+ }
+ for (int i = 0; i < interviews_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, interviews_.get(i));
+ }
+ if (referral_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getReferral());
+ }
+ if (createTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getCreateTime());
+ }
+ if (updateTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getUpdateTime());
+ }
+ if (!getOutcomeNotesBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, outcomeNotes_);
+ }
+ if (outcome_ != com.google.cloud.talent.v4beta1.Outcome.OUTCOME_UNSPECIFIED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(22, outcome_);
+ }
+ if (isMatch_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, getIsMatch());
+ }
+ if (!getJobTitleSnippetBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, jobTitleSnippet_);
+ }
+ if (!getExternalIdBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, externalId_);
+ }
+ 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.Application)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.Application other =
+ (com.google.cloud.talent.v4beta1.Application) obj;
+
+ boolean result = true;
+ result = result && getName().equals(other.getName());
+ result = result && getExternalId().equals(other.getExternalId());
+ result = result && getProfile().equals(other.getProfile());
+ result = result && getJob().equals(other.getJob());
+ result = result && getCompany().equals(other.getCompany());
+ result = result && (hasApplicationDate() == other.hasApplicationDate());
+ if (hasApplicationDate()) {
+ result = result && getApplicationDate().equals(other.getApplicationDate());
+ }
+ result = result && stage_ == other.stage_;
+ result = result && state_ == other.state_;
+ result = result && getInterviewsList().equals(other.getInterviewsList());
+ result = result && (hasReferral() == other.hasReferral());
+ if (hasReferral()) {
+ result = result && getReferral().equals(other.getReferral());
+ }
+ result = result && (hasCreateTime() == other.hasCreateTime());
+ if (hasCreateTime()) {
+ result = result && getCreateTime().equals(other.getCreateTime());
+ }
+ result = result && (hasUpdateTime() == other.hasUpdateTime());
+ if (hasUpdateTime()) {
+ result = result && getUpdateTime().equals(other.getUpdateTime());
+ }
+ result = result && getOutcomeNotes().equals(other.getOutcomeNotes());
+ result = result && outcome_ == other.outcome_;
+ result = result && (hasIsMatch() == other.hasIsMatch());
+ if (hasIsMatch()) {
+ result = result && getIsMatch().equals(other.getIsMatch());
+ }
+ result = result && getJobTitleSnippet().equals(other.getJobTitleSnippet());
+ 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) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + EXTERNAL_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getExternalId().hashCode();
+ hash = (37 * hash) + PROFILE_FIELD_NUMBER;
+ hash = (53 * hash) + getProfile().hashCode();
+ hash = (37 * hash) + JOB_FIELD_NUMBER;
+ hash = (53 * hash) + getJob().hashCode();
+ hash = (37 * hash) + COMPANY_FIELD_NUMBER;
+ hash = (53 * hash) + getCompany().hashCode();
+ if (hasApplicationDate()) {
+ hash = (37 * hash) + APPLICATION_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + getApplicationDate().hashCode();
+ }
+ hash = (37 * hash) + STAGE_FIELD_NUMBER;
+ hash = (53 * hash) + stage_;
+ hash = (37 * hash) + STATE_FIELD_NUMBER;
+ hash = (53 * hash) + state_;
+ if (getInterviewsCount() > 0) {
+ hash = (37 * hash) + INTERVIEWS_FIELD_NUMBER;
+ hash = (53 * hash) + getInterviewsList().hashCode();
+ }
+ if (hasReferral()) {
+ hash = (37 * hash) + REFERRAL_FIELD_NUMBER;
+ hash = (53 * hash) + getReferral().hashCode();
+ }
+ if (hasCreateTime()) {
+ hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getCreateTime().hashCode();
+ }
+ if (hasUpdateTime()) {
+ hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getUpdateTime().hashCode();
+ }
+ hash = (37 * hash) + OUTCOME_NOTES_FIELD_NUMBER;
+ hash = (53 * hash) + getOutcomeNotes().hashCode();
+ hash = (37 * hash) + OUTCOME_FIELD_NUMBER;
+ hash = (53 * hash) + outcome_;
+ if (hasIsMatch()) {
+ hash = (37 * hash) + IS_MATCH_FIELD_NUMBER;
+ hash = (53 * hash) + getIsMatch().hashCode();
+ }
+ hash = (37 * hash) + JOB_TITLE_SNIPPET_FIELD_NUMBER;
+ hash = (53 * hash) + getJobTitleSnippet().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.Application parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Application 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.Application parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Application parseFrom(
+ com.google.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.Application parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Application 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.Application parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Application 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.Application parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Application 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.Application 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.Application 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.Application 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 job application record of a candidate. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.Application} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required during application update. + * Resource name assigned to an application by the API. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/api-test-project/tenants/foo/profiles/bar/applications/baz". + *+ * + *
string name = 1;
+ */
+ 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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required during application update. + * Resource name assigned to an application by the API. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/api-test-project/tenants/foo/profiles/bar/applications/baz". + *+ * + *
string name = 1;
+ */
+ 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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required during application update. + * Resource name assigned to an application by the API. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/api-test-project/tenants/foo/profiles/bar/applications/baz". + *+ * + *
string name = 1;
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required during application update. + * Resource name assigned to an application by the API. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/api-test-project/tenants/foo/profiles/bar/applications/baz". + *+ * + *
string name = 1;
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required during application update. + * Resource name assigned to an application by the API. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/api-test-project/tenants/foo/profiles/bar/applications/baz". + *+ * + *
string name = 1;
+ */
+ 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 externalId_ = "";
+ /**
+ *
+ *
+ * + * Required. + * Client side application identifier, used to uniquely identify the + * recruiter. + * The maximum number of allowed characters is 255. + *+ * + *
string external_id = 31;
+ */
+ public java.lang.String getExternalId() {
+ java.lang.Object ref = externalId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ externalId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * Client side application identifier, used to uniquely identify the + * recruiter. + * The maximum number of allowed characters is 255. + *+ * + *
string external_id = 31;
+ */
+ public com.google.protobuf.ByteString getExternalIdBytes() {
+ java.lang.Object ref = externalId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ externalId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * Client side application identifier, used to uniquely identify the + * recruiter. + * The maximum number of allowed characters is 255. + *+ * + *
string external_id = 31;
+ */
+ public Builder setExternalId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ externalId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Client side application identifier, used to uniquely identify the + * recruiter. + * The maximum number of allowed characters is 255. + *+ * + *
string external_id = 31;
+ */
+ public Builder clearExternalId() {
+
+ externalId_ = getDefaultInstance().getExternalId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Client side application identifier, used to uniquely identify the + * recruiter. + * The maximum number of allowed characters is 255. + *+ * + *
string external_id = 31;
+ */
+ public Builder setExternalIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ externalId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object profile_ = "";
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the candidate of this application. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", + * for example, "projects/api-test-project/tenants/foo/profiles/bar". + *+ * + *
string profile = 2;
+ */
+ public java.lang.String getProfile() {
+ java.lang.Object ref = profile_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ profile_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the candidate of this application. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", + * for example, "projects/api-test-project/tenants/foo/profiles/bar". + *+ * + *
string profile = 2;
+ */
+ public com.google.protobuf.ByteString getProfileBytes() {
+ java.lang.Object ref = profile_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ profile_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the candidate of this application. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", + * for example, "projects/api-test-project/tenants/foo/profiles/bar". + *+ * + *
string profile = 2;
+ */
+ public Builder setProfile(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ profile_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the candidate of this application. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", + * for example, "projects/api-test-project/tenants/foo/profiles/bar". + *+ * + *
string profile = 2;
+ */
+ public Builder clearProfile() {
+
+ profile_ = getDefaultInstance().getProfile();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the candidate of this application. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", + * for example, "projects/api-test-project/tenants/foo/profiles/bar". + *+ * + *
string profile = 2;
+ */
+ public Builder setProfileBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ profile_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object job_ = "";
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the job which the candidate applied for. + * The format is + * "projects/{project_id}/jobs/{job_id}", + * for example, "projects/api-test-project/jobs/bar". + *+ * + *
string job = 4;
+ */
+ public java.lang.String getJob() {
+ java.lang.Object ref = job_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ job_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the job which the candidate applied for. + * The format is + * "projects/{project_id}/jobs/{job_id}", + * for example, "projects/api-test-project/jobs/bar". + *+ * + *
string job = 4;
+ */
+ public com.google.protobuf.ByteString getJobBytes() {
+ java.lang.Object ref = job_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ job_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the job which the candidate applied for. + * The format is + * "projects/{project_id}/jobs/{job_id}", + * for example, "projects/api-test-project/jobs/bar". + *+ * + *
string job = 4;
+ */
+ public Builder setJob(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ job_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the job which the candidate applied for. + * The format is + * "projects/{project_id}/jobs/{job_id}", + * for example, "projects/api-test-project/jobs/bar". + *+ * + *
string job = 4;
+ */
+ public Builder clearJob() {
+
+ job_ = getDefaultInstance().getJob();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the job which the candidate applied for. + * The format is + * "projects/{project_id}/jobs/{job_id}", + * for example, "projects/api-test-project/jobs/bar". + *+ * + *
string job = 4;
+ */
+ public Builder setJobBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ job_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object company_ = "";
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the company which the candidate applied for. + * The format is + * "projects/{project_id}/companies/{company_id}", + * for example, "projects/api-test-project/companies/foo". + *+ * + *
string company = 5;
+ */
+ public java.lang.String getCompany() {
+ java.lang.Object ref = company_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ company_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the company which the candidate applied for. + * The format is + * "projects/{project_id}/companies/{company_id}", + * for example, "projects/api-test-project/companies/foo". + *+ * + *
string company = 5;
+ */
+ public com.google.protobuf.ByteString getCompanyBytes() {
+ java.lang.Object ref = company_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ company_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the company which the candidate applied for. + * The format is + * "projects/{project_id}/companies/{company_id}", + * for example, "projects/api-test-project/companies/foo". + *+ * + *
string company = 5;
+ */
+ public Builder setCompany(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ company_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the company which the candidate applied for. + * The format is + * "projects/{project_id}/companies/{company_id}", + * for example, "projects/api-test-project/companies/foo". + *+ * + *
string company = 5;
+ */
+ public Builder clearCompany() {
+
+ company_ = getDefaultInstance().getCompany();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the company which the candidate applied for. + * The format is + * "projects/{project_id}/companies/{company_id}", + * for example, "projects/api-test-project/companies/foo". + *+ * + *
string company = 5;
+ */
+ public Builder setCompanyBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ company_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.type.Date applicationDate_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ applicationDateBuilder_;
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ public boolean hasApplicationDate() {
+ return applicationDateBuilder_ != null || applicationDate_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ public com.google.type.Date getApplicationDate() {
+ if (applicationDateBuilder_ == null) {
+ return applicationDate_ == null
+ ? com.google.type.Date.getDefaultInstance()
+ : applicationDate_;
+ } else {
+ return applicationDateBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ public Builder setApplicationDate(com.google.type.Date value) {
+ if (applicationDateBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ applicationDate_ = value;
+ onChanged();
+ } else {
+ applicationDateBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ public Builder setApplicationDate(com.google.type.Date.Builder builderForValue) {
+ if (applicationDateBuilder_ == null) {
+ applicationDate_ = builderForValue.build();
+ onChanged();
+ } else {
+ applicationDateBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ public Builder mergeApplicationDate(com.google.type.Date value) {
+ if (applicationDateBuilder_ == null) {
+ if (applicationDate_ != null) {
+ applicationDate_ =
+ com.google.type.Date.newBuilder(applicationDate_).mergeFrom(value).buildPartial();
+ } else {
+ applicationDate_ = value;
+ }
+ onChanged();
+ } else {
+ applicationDateBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ public Builder clearApplicationDate() {
+ if (applicationDateBuilder_ == null) {
+ applicationDate_ = null;
+ onChanged();
+ } else {
+ applicationDate_ = null;
+ applicationDateBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ public com.google.type.Date.Builder getApplicationDateBuilder() {
+
+ onChanged();
+ return getApplicationDateFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ public com.google.type.DateOrBuilder getApplicationDateOrBuilder() {
+ if (applicationDateBuilder_ != null) {
+ return applicationDateBuilder_.getMessageOrBuilder();
+ } else {
+ return applicationDate_ == null
+ ? com.google.type.Date.getDefaultInstance()
+ : applicationDate_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+ getApplicationDateFieldBuilder() {
+ if (applicationDateBuilder_ == null) {
+ applicationDateBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+ getApplicationDate(), getParentForChildren(), isClean());
+ applicationDate_ = null;
+ }
+ return applicationDateBuilder_;
+ }
+
+ private int stage_ = 0;
+ /**
+ *
+ *
+ * + * Required. + * What is the most recent stage of the application (that is, new, screen, + * send cv, hired, finished work)? This field is intentionally not + * comprehensive of every possible status, but instead, represents statuses + * that would be used to indicate to the ML models good / bad matches. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationStage stage = 11;
+ */
+ public int getStageValue() {
+ return stage_;
+ }
+ /**
+ *
+ *
+ * + * Required. + * What is the most recent stage of the application (that is, new, screen, + * send cv, hired, finished work)? This field is intentionally not + * comprehensive of every possible status, but instead, represents statuses + * that would be used to indicate to the ML models good / bad matches. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationStage stage = 11;
+ */
+ public Builder setStageValue(int value) {
+ stage_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * What is the most recent stage of the application (that is, new, screen, + * send cv, hired, finished work)? This field is intentionally not + * comprehensive of every possible status, but instead, represents statuses + * that would be used to indicate to the ML models good / bad matches. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationStage stage = 11;
+ */
+ public com.google.cloud.talent.v4beta1.Application.ApplicationStage getStage() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.Application.ApplicationStage result =
+ com.google.cloud.talent.v4beta1.Application.ApplicationStage.valueOf(stage_);
+ return result == null
+ ? com.google.cloud.talent.v4beta1.Application.ApplicationStage.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * Required. + * What is the most recent stage of the application (that is, new, screen, + * send cv, hired, finished work)? This field is intentionally not + * comprehensive of every possible status, but instead, represents statuses + * that would be used to indicate to the ML models good / bad matches. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationStage stage = 11;
+ */
+ public Builder setStage(com.google.cloud.talent.v4beta1.Application.ApplicationStage value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ stage_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * What is the most recent stage of the application (that is, new, screen, + * send cv, hired, finished work)? This field is intentionally not + * comprehensive of every possible status, but instead, represents statuses + * that would be used to indicate to the ML models good / bad matches. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationStage stage = 11;
+ */
+ public Builder clearStage() {
+
+ stage_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int state_ = 0;
+ /**
+ *
+ *
+ * + * Optional. + * The application state. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationState state = 13;
+ */
+ public int getStateValue() {
+ return state_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application state. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationState state = 13;
+ */
+ public Builder setStateValue(int value) {
+ state_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application state. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationState state = 13;
+ */
+ public com.google.cloud.talent.v4beta1.Application.ApplicationState getState() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.Application.ApplicationState result =
+ com.google.cloud.talent.v4beta1.Application.ApplicationState.valueOf(state_);
+ return result == null
+ ? com.google.cloud.talent.v4beta1.Application.ApplicationState.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application state. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationState state = 13;
+ */
+ public Builder setState(com.google.cloud.talent.v4beta1.Application.ApplicationState value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The application state. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationState state = 13;
+ */
+ public Builder clearState() {
+
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List+ * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public java.util.List+ * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public int getInterviewsCount() {
+ if (interviewsBuilder_ == null) {
+ return interviews_.size();
+ } else {
+ return interviewsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public com.google.cloud.talent.v4beta1.Interview getInterviews(int index) {
+ if (interviewsBuilder_ == null) {
+ return interviews_.get(index);
+ } else {
+ return interviewsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public Builder setInterviews(int index, com.google.cloud.talent.v4beta1.Interview value) {
+ if (interviewsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInterviewsIsMutable();
+ interviews_.set(index, value);
+ onChanged();
+ } else {
+ interviewsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public Builder setInterviews(
+ int index, com.google.cloud.talent.v4beta1.Interview.Builder builderForValue) {
+ if (interviewsBuilder_ == null) {
+ ensureInterviewsIsMutable();
+ interviews_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ interviewsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public Builder addInterviews(com.google.cloud.talent.v4beta1.Interview value) {
+ if (interviewsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInterviewsIsMutable();
+ interviews_.add(value);
+ onChanged();
+ } else {
+ interviewsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public Builder addInterviews(int index, com.google.cloud.talent.v4beta1.Interview value) {
+ if (interviewsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInterviewsIsMutable();
+ interviews_.add(index, value);
+ onChanged();
+ } else {
+ interviewsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public Builder addInterviews(
+ com.google.cloud.talent.v4beta1.Interview.Builder builderForValue) {
+ if (interviewsBuilder_ == null) {
+ ensureInterviewsIsMutable();
+ interviews_.add(builderForValue.build());
+ onChanged();
+ } else {
+ interviewsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public Builder addInterviews(
+ int index, com.google.cloud.talent.v4beta1.Interview.Builder builderForValue) {
+ if (interviewsBuilder_ == null) {
+ ensureInterviewsIsMutable();
+ interviews_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ interviewsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public Builder addAllInterviews(
+ java.lang.Iterable extends com.google.cloud.talent.v4beta1.Interview> values) {
+ if (interviewsBuilder_ == null) {
+ ensureInterviewsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, interviews_);
+ onChanged();
+ } else {
+ interviewsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public Builder clearInterviews() {
+ if (interviewsBuilder_ == null) {
+ interviews_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000100);
+ onChanged();
+ } else {
+ interviewsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public Builder removeInterviews(int index) {
+ if (interviewsBuilder_ == null) {
+ ensureInterviewsIsMutable();
+ interviews_.remove(index);
+ onChanged();
+ } else {
+ interviewsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public com.google.cloud.talent.v4beta1.Interview.Builder getInterviewsBuilder(int index) {
+ return getInterviewsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public com.google.cloud.talent.v4beta1.InterviewOrBuilder getInterviewsOrBuilder(int index) {
+ if (interviewsBuilder_ == null) {
+ return interviews_.get(index);
+ } else {
+ return interviewsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public java.util.List extends com.google.cloud.talent.v4beta1.InterviewOrBuilder>
+ getInterviewsOrBuilderList() {
+ if (interviewsBuilder_ != null) {
+ return interviewsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(interviews_);
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public com.google.cloud.talent.v4beta1.Interview.Builder addInterviewsBuilder() {
+ return getInterviewsFieldBuilder()
+ .addBuilder(com.google.cloud.talent.v4beta1.Interview.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public com.google.cloud.talent.v4beta1.Interview.Builder addInterviewsBuilder(int index) {
+ return getInterviewsFieldBuilder()
+ .addBuilder(index, com.google.cloud.talent.v4beta1.Interview.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ public java.util.List+ * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ public boolean hasReferral() {
+ return referralBuilder_ != null || referral_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ public com.google.protobuf.BoolValue getReferral() {
+ if (referralBuilder_ == null) {
+ return referral_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : referral_;
+ } else {
+ return referralBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ public Builder setReferral(com.google.protobuf.BoolValue value) {
+ if (referralBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ referral_ = value;
+ onChanged();
+ } else {
+ referralBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ public Builder setReferral(com.google.protobuf.BoolValue.Builder builderForValue) {
+ if (referralBuilder_ == null) {
+ referral_ = builderForValue.build();
+ onChanged();
+ } else {
+ referralBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ public Builder mergeReferral(com.google.protobuf.BoolValue value) {
+ if (referralBuilder_ == null) {
+ if (referral_ != null) {
+ referral_ =
+ com.google.protobuf.BoolValue.newBuilder(referral_).mergeFrom(value).buildPartial();
+ } else {
+ referral_ = value;
+ }
+ onChanged();
+ } else {
+ referralBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ public Builder clearReferral() {
+ if (referralBuilder_ == null) {
+ referral_ = null;
+ onChanged();
+ } else {
+ referral_ = null;
+ referralBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ public com.google.protobuf.BoolValue.Builder getReferralBuilder() {
+
+ onChanged();
+ return getReferralFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ public com.google.protobuf.BoolValueOrBuilder getReferralOrBuilder() {
+ if (referralBuilder_ != null) {
+ return referralBuilder_.getMessageOrBuilder();
+ } else {
+ return referral_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : referral_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.BoolValue,
+ com.google.protobuf.BoolValue.Builder,
+ com.google.protobuf.BoolValueOrBuilder>
+ getReferralFieldBuilder() {
+ if (referralBuilder_ == null) {
+ referralBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.BoolValue,
+ com.google.protobuf.BoolValue.Builder,
+ com.google.protobuf.BoolValueOrBuilder>(
+ getReferral(), getParentForChildren(), isClean());
+ referral_ = null;
+ }
+ return referralBuilder_;
+ }
+
+ private com.google.protobuf.Timestamp createTime_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ createTimeBuilder_;
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ public boolean hasCreateTime() {
+ return createTimeBuilder_ != null || createTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ public com.google.protobuf.Timestamp getCreateTime() {
+ if (createTimeBuilder_ == null) {
+ return createTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : createTime_;
+ } else {
+ return createTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
+ if (createTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ createTime_ = value;
+ onChanged();
+ } else {
+ createTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (createTimeBuilder_ == null) {
+ createTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ createTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
+ if (createTimeBuilder_ == null) {
+ if (createTime_ != null) {
+ createTime_ =
+ com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ } else {
+ createTime_ = value;
+ }
+ onChanged();
+ } else {
+ createTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ public Builder clearCreateTime() {
+ if (createTimeBuilder_ == null) {
+ createTime_ = null;
+ onChanged();
+ } else {
+ createTime_ = null;
+ createTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
+
+ onChanged();
+ return getCreateTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
+ if (createTimeBuilder_ != null) {
+ return createTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return createTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : createTime_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getCreateTimeFieldBuilder() {
+ if (createTimeBuilder_ == null) {
+ createTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getCreateTime(), getParentForChildren(), isClean());
+ createTime_ = null;
+ }
+ return createTimeBuilder_;
+ }
+
+ private com.google.protobuf.Timestamp updateTime_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ updateTimeBuilder_;
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ public boolean hasUpdateTime() {
+ return updateTimeBuilder_ != null || updateTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ public com.google.protobuf.Timestamp getUpdateTime() {
+ if (updateTimeBuilder_ == null) {
+ return updateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : updateTime_;
+ } else {
+ return updateTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
+ if (updateTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ updateTime_ = value;
+ onChanged();
+ } else {
+ updateTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (updateTimeBuilder_ == null) {
+ updateTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ updateTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
+ if (updateTimeBuilder_ == null) {
+ if (updateTime_ != null) {
+ updateTime_ =
+ com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ } else {
+ updateTime_ = value;
+ }
+ onChanged();
+ } else {
+ updateTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ public Builder clearUpdateTime() {
+ if (updateTimeBuilder_ == null) {
+ updateTime_ = null;
+ onChanged();
+ } else {
+ updateTime_ = null;
+ updateTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
+
+ onChanged();
+ return getUpdateTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
+ if (updateTimeBuilder_ != null) {
+ return updateTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return updateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : updateTime_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getUpdateTimeFieldBuilder() {
+ if (updateTimeBuilder_ == null) {
+ updateTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getUpdateTime(), getParentForChildren(), isClean());
+ updateTime_ = null;
+ }
+ return updateTimeBuilder_;
+ }
+
+ private java.lang.Object outcomeNotes_ = "";
+ /**
+ *
+ *
+ * + * Optional. + * Free text reason behind the recruitement outcome (for example, reason for + * withdraw / reject, reason for an unsuccessful finish, and so on). + * Number of characters allowed is 100. + *+ * + *
string outcome_notes = 21;
+ */
+ public java.lang.String getOutcomeNotes() {
+ java.lang.Object ref = outcomeNotes_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ outcomeNotes_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Free text reason behind the recruitement outcome (for example, reason for + * withdraw / reject, reason for an unsuccessful finish, and so on). + * Number of characters allowed is 100. + *+ * + *
string outcome_notes = 21;
+ */
+ public com.google.protobuf.ByteString getOutcomeNotesBytes() {
+ java.lang.Object ref = outcomeNotes_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ outcomeNotes_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Free text reason behind the recruitement outcome (for example, reason for + * withdraw / reject, reason for an unsuccessful finish, and so on). + * Number of characters allowed is 100. + *+ * + *
string outcome_notes = 21;
+ */
+ public Builder setOutcomeNotes(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ outcomeNotes_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Free text reason behind the recruitement outcome (for example, reason for + * withdraw / reject, reason for an unsuccessful finish, and so on). + * Number of characters allowed is 100. + *+ * + *
string outcome_notes = 21;
+ */
+ public Builder clearOutcomeNotes() {
+
+ outcomeNotes_ = getDefaultInstance().getOutcomeNotes();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Free text reason behind the recruitement outcome (for example, reason for + * withdraw / reject, reason for an unsuccessful finish, and so on). + * Number of characters allowed is 100. + *+ * + *
string outcome_notes = 21;
+ */
+ public Builder setOutcomeNotesBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ outcomeNotes_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int outcome_ = 0;
+ /**
+ *
+ *
+ * + * Optional. + * Outcome positiveness shows how positive the outcome is. + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 22;
+ */
+ public int getOutcomeValue() {
+ return outcome_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Outcome positiveness shows how positive the outcome is. + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 22;
+ */
+ public Builder setOutcomeValue(int value) {
+ outcome_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Outcome positiveness shows how positive the outcome is. + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 22;
+ */
+ public com.google.cloud.talent.v4beta1.Outcome getOutcome() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.Outcome result =
+ com.google.cloud.talent.v4beta1.Outcome.valueOf(outcome_);
+ return result == null ? com.google.cloud.talent.v4beta1.Outcome.UNRECOGNIZED : result;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Outcome positiveness shows how positive the outcome is. + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 22;
+ */
+ public Builder setOutcome(com.google.cloud.talent.v4beta1.Outcome value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ outcome_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * Outcome positiveness shows how positive the outcome is. + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 22;
+ */
+ public Builder clearOutcome() {
+
+ outcome_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.BoolValue isMatch_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.BoolValue,
+ com.google.protobuf.BoolValue.Builder,
+ com.google.protobuf.BoolValueOrBuilder>
+ isMatchBuilder_;
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ public boolean hasIsMatch() {
+ return isMatchBuilder_ != null || isMatch_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ public com.google.protobuf.BoolValue getIsMatch() {
+ if (isMatchBuilder_ == null) {
+ return isMatch_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isMatch_;
+ } else {
+ return isMatchBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ public Builder setIsMatch(com.google.protobuf.BoolValue value) {
+ if (isMatchBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ isMatch_ = value;
+ onChanged();
+ } else {
+ isMatchBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ public Builder setIsMatch(com.google.protobuf.BoolValue.Builder builderForValue) {
+ if (isMatchBuilder_ == null) {
+ isMatch_ = builderForValue.build();
+ onChanged();
+ } else {
+ isMatchBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ public Builder mergeIsMatch(com.google.protobuf.BoolValue value) {
+ if (isMatchBuilder_ == null) {
+ if (isMatch_ != null) {
+ isMatch_ =
+ com.google.protobuf.BoolValue.newBuilder(isMatch_).mergeFrom(value).buildPartial();
+ } else {
+ isMatch_ = value;
+ }
+ onChanged();
+ } else {
+ isMatchBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ public Builder clearIsMatch() {
+ if (isMatchBuilder_ == null) {
+ isMatch_ = null;
+ onChanged();
+ } else {
+ isMatch_ = null;
+ isMatchBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ public com.google.protobuf.BoolValue.Builder getIsMatchBuilder() {
+
+ onChanged();
+ return getIsMatchFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ public com.google.protobuf.BoolValueOrBuilder getIsMatchOrBuilder() {
+ if (isMatchBuilder_ != null) {
+ return isMatchBuilder_.getMessageOrBuilder();
+ } else {
+ return isMatch_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isMatch_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.BoolValue,
+ com.google.protobuf.BoolValue.Builder,
+ com.google.protobuf.BoolValueOrBuilder>
+ getIsMatchFieldBuilder() {
+ if (isMatchBuilder_ == null) {
+ isMatchBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.BoolValue,
+ com.google.protobuf.BoolValue.Builder,
+ com.google.protobuf.BoolValueOrBuilder>(
+ getIsMatch(), getParentForChildren(), isClean());
+ isMatch_ = null;
+ }
+ return isMatchBuilder_;
+ }
+
+ private java.lang.Object jobTitleSnippet_ = "";
+ /**
+ *
+ *
+ * + * Output only. Job title snippet shows how the job title is related to a + * search query. It's empty if the job title isn't related to the search + * query. + *+ * + *
string job_title_snippet = 29;
+ */
+ public java.lang.String getJobTitleSnippet() {
+ java.lang.Object ref = jobTitleSnippet_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ jobTitleSnippet_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Job title snippet shows how the job title is related to a + * search query. It's empty if the job title isn't related to the search + * query. + *+ * + *
string job_title_snippet = 29;
+ */
+ public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
+ java.lang.Object ref = jobTitleSnippet_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ jobTitleSnippet_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Job title snippet shows how the job title is related to a + * search query. It's empty if the job title isn't related to the search + * query. + *+ * + *
string job_title_snippet = 29;
+ */
+ public Builder setJobTitleSnippet(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ jobTitleSnippet_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Job title snippet shows how the job title is related to a + * search query. It's empty if the job title isn't related to the search + * query. + *+ * + *
string job_title_snippet = 29;
+ */
+ public Builder clearJobTitleSnippet() {
+
+ jobTitleSnippet_ = getDefaultInstance().getJobTitleSnippet();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Job title snippet shows how the job title is related to a + * search query. It's empty if the job title isn't related to the search + * query. + *+ * + *
string job_title_snippet = 29;
+ */
+ public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ jobTitleSnippet_ = 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.Application)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Application)
+ private static final com.google.cloud.talent.v4beta1.Application DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Application();
+ }
+
+ public static com.google.cloud.talent.v4beta1.Application getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserstring job_name = 1;
+ * string job = 1;
*/
- public java.lang.String getJobName() {
- java.lang.Object ref = jobName_;
+ public java.lang.String getJob() {
+ java.lang.Object ref = job_;
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;
+ job_ = s;
return s;
}
}
@@ -147,18 +146,17 @@ public 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
- * string job_name = 1;
+ * string job = 1;
*/
- public com.google.protobuf.ByteString getJobNameBytes() {
- java.lang.Object ref = jobName_;
+ public com.google.protobuf.ByteString getJobBytes() {
+ java.lang.Object ref = job_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- jobName_ = b;
+ job_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -174,8 +172,7 @@ public 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_requisition_id = 2;
@@ -198,8 +195,7 @@ public 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_requisition_id = 2;
@@ -225,8 +221,7 @@ public 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_title = 3;
@@ -249,8 +244,7 @@ public 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_title = 3;
@@ -275,8 +269,8 @@ public 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. + * [Application.job][google.cloud.talent.v4beta1.Application.job] matching the + * filters. ** *
bool negated = 4;
@@ -299,8 +293,8 @@ public final boolean isInitialized() {
@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 (!getJobBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, job_);
}
if (!getJobRequisitionIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jobRequisitionId_);
@@ -320,8 +314,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getJobNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jobName_);
+ if (!getJobBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, job_);
}
if (!getJobRequisitionIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobRequisitionId_);
@@ -349,7 +343,7 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloud.talent.v4beta1.ApplicationJobFilter) obj;
boolean result = true;
- result = result && getJobName().equals(other.getJobName());
+ result = result && getJob().equals(other.getJob());
result = result && getJobRequisitionId().equals(other.getJobRequisitionId());
result = result && getJobTitle().equals(other.getJobTitle());
result = result && (getNegated() == other.getNegated());
@@ -364,8 +358,8 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + JOB_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getJobName().hashCode();
+ hash = (37 * hash) + JOB_FIELD_NUMBER;
+ hash = (53 * hash) + getJob().hashCode();
hash = (37 * hash) + JOB_REQUISITION_ID_FIELD_NUMBER;
hash = (53 * hash) + getJobRequisitionId().hashCode();
hash = (37 * hash) + JOB_TITLE_FIELD_NUMBER;
@@ -518,7 +512,7 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
- jobName_ = "";
+ job_ = "";
jobRequisitionId_ = "";
@@ -553,7 +547,7 @@ public com.google.cloud.talent.v4beta1.ApplicationJobFilter build() {
public com.google.cloud.talent.v4beta1.ApplicationJobFilter buildPartial() {
com.google.cloud.talent.v4beta1.ApplicationJobFilter result =
new com.google.cloud.talent.v4beta1.ApplicationJobFilter(this);
- result.jobName_ = jobName_;
+ result.job_ = job_;
result.jobRequisitionId_ = jobRequisitionId_;
result.jobTitle_ = jobTitle_;
result.negated_ = negated_;
@@ -607,8 +601,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(com.google.cloud.talent.v4beta1.ApplicationJobFilter other) {
if (other == com.google.cloud.talent.v4beta1.ApplicationJobFilter.getDefaultInstance())
return this;
- if (!other.getJobName().isEmpty()) {
- jobName_ = other.jobName_;
+ if (!other.getJob().isEmpty()) {
+ job_ = other.job_;
onChanged();
}
if (!other.getJobRequisitionId().isEmpty()) {
@@ -652,7 +646,7 @@ public Builder mergeFrom(
return this;
}
- private java.lang.Object jobName_ = "";
+ private java.lang.Object job_ = "";
/**
*
*
@@ -660,18 +654,17 @@ public Builder mergeFrom(
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
- * string job_name = 1;
+ * string job = 1;
*/
- public java.lang.String getJobName() {
- java.lang.Object ref = jobName_;
+ public java.lang.String getJob() {
+ java.lang.Object ref = job_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- jobName_ = s;
+ job_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -684,18 +677,17 @@ public 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
- * string job_name = 1;
+ * string job = 1;
*/
- public com.google.protobuf.ByteString getJobNameBytes() {
- java.lang.Object ref = jobName_;
+ public com.google.protobuf.ByteString getJobBytes() {
+ java.lang.Object ref = job_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- jobName_ = b;
+ job_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -708,18 +700,17 @@ public com.google.protobuf.ByteString getJobNameBytes() {
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
- * string job_name = 1;
+ * string job = 1;
*/
- public Builder setJobName(java.lang.String value) {
+ public Builder setJob(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- jobName_ = value;
+ job_ = value;
onChanged();
return this;
}
@@ -730,15 +721,14 @@ public Builder setJobName(java.lang.String value) {
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
- * string job_name = 1;
+ * string job = 1;
*/
- public Builder clearJobName() {
+ public Builder clearJob() {
- jobName_ = getDefaultInstance().getJobName();
+ job_ = getDefaultInstance().getJob();
onChanged();
return this;
}
@@ -749,19 +739,18 @@ public Builder clearJobName() {
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
- * string job_name = 1;
+ * string job = 1;
*/
- public Builder setJobNameBytes(com.google.protobuf.ByteString value) {
+ public Builder setJobBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- jobName_ = value;
+ job_ = value;
onChanged();
return this;
}
@@ -774,8 +763,7 @@ public Builder setJobNameBytes(com.google.protobuf.ByteString value) {
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_requisition_id = 2;
@@ -798,8 +786,7 @@ public 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_requisition_id = 2;
@@ -822,8 +809,7 @@ public com.google.protobuf.ByteString getJobRequisitionIdBytes() {
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_requisition_id = 2;
@@ -844,8 +830,7 @@ public Builder setJobRequisitionId(java.lang.String value) {
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_requisition_id = 2;
@@ -863,8 +848,7 @@ public Builder clearJobRequisitionId() {
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_requisition_id = 2;
@@ -888,8 +872,7 @@ public Builder setJobRequisitionIdBytes(com.google.protobuf.ByteString value) {
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_title = 3;
@@ -912,8 +895,7 @@ public 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_title = 3;
@@ -936,8 +918,7 @@ public com.google.protobuf.ByteString getJobTitleBytes() {
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_title = 3;
@@ -958,8 +939,7 @@ public Builder setJobTitle(java.lang.String value) {
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_title = 3;
@@ -977,8 +957,7 @@ public Builder clearJobTitle() {
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_title = 3;
@@ -1001,8 +980,8 @@ public Builder setJobTitleBytes(com.google.protobuf.ByteString value) {
* * Optional. * If true, the API excludes all profiles with any - * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] - * matching the filters. + * [Application.job][google.cloud.talent.v4beta1.Application.job] matching the + * filters. ** *
bool negated = 4;
@@ -1016,8 +995,8 @@ public boolean getNegated() {
* * Optional. * If true, the API excludes all profiles with any - * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] - * matching the filters. + * [Application.job][google.cloud.talent.v4beta1.Application.job] matching the + * filters. ** *
bool negated = 4;
@@ -1034,8 +1013,8 @@ public Builder setNegated(boolean value) {
* * Optional. * If true, the API excludes all profiles with any - * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] - * matching the filters. + * [Application.job][google.cloud.talent.v4beta1.Application.job] matching the + * filters. ** *
bool negated = 4;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationJobFilterOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationJobFilterOrBuilder.java
index c923b7e12bc8..f10c855a31f3 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationJobFilterOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationJobFilterOrBuilder.java
@@ -15,13 +15,12 @@ public interface ApplicationJobFilterOrBuilder
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
- * string job_name = 1;
+ * string job = 1;
*/
- java.lang.String getJobName();
+ java.lang.String getJob();
/**
*
*
@@ -29,13 +28,12 @@ public interface ApplicationJobFilterOrBuilder
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
- * string job_name = 1;
+ * string job = 1;
*/
- com.google.protobuf.ByteString getJobNameBytes();
+ com.google.protobuf.ByteString getJobBytes();
/**
*
@@ -44,8 +42,7 @@ public interface ApplicationJobFilterOrBuilder
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_requisition_id = 2;
@@ -58,8 +55,7 @@ public interface ApplicationJobFilterOrBuilder
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_requisition_id = 2;
@@ -73,8 +69,7 @@ public interface ApplicationJobFilterOrBuilder
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_title = 3;
@@ -87,8 +82,7 @@ public interface ApplicationJobFilterOrBuilder
* 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.
+ * [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles.
*
*
* string job_title = 3;
@@ -101,8 +95,8 @@ public interface ApplicationJobFilterOrBuilder
* * Optional. * If true, the API excludes all profiles with any - * [JobApplication.job][google.cloud.talent.v4beta1.JobApplication.job] - * matching the filters. + * [Application.job][google.cloud.talent.v4beta1.Application.job] matching the + * filters. ** *
bool negated = 4;
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
index 9bdf0518b7aa..f9c626c60ef5 100644
--- 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
@@ -107,8 +107,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* 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.
+ * [Application.last_stage][] in profiles.
*
*
* string last_stage = 1;
@@ -131,8 +130,7 @@ public 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.
+ * [Application.last_stage][] in profiles.
*
*
* string last_stage = 1;
@@ -157,8 +155,8 @@ public 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. + * [Application.last_stage][] matching the last stage specified in the + * filter. ** *
bool negated = 2;
@@ -511,8 +509,7 @@ public Builder mergeFrom(
* 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.
+ * [Application.last_stage][] in profiles.
*
*
* string last_stage = 1;
@@ -535,8 +532,7 @@ public 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.
+ * [Application.last_stage][] in profiles.
*
*
* string last_stage = 1;
@@ -559,8 +555,7 @@ public com.google.protobuf.ByteString getLastStageBytes() {
* 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.
+ * [Application.last_stage][] in profiles.
*
*
* string last_stage = 1;
@@ -581,8 +576,7 @@ public Builder setLastStage(java.lang.String value) {
* 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.
+ * [Application.last_stage][] in profiles.
*
*
* string last_stage = 1;
@@ -600,8 +594,7 @@ public Builder clearLastStage() {
* 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.
+ * [Application.last_stage][] in profiles.
*
*
* string last_stage = 1;
@@ -624,8 +617,8 @@ public Builder setLastStageBytes(com.google.protobuf.ByteString value) {
* * 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. + * [Application.last_stage][] matching the last stage specified in the + * filter. ** *
bool negated = 2;
@@ -639,8 +632,8 @@ public boolean getNegated() {
* * 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. + * [Application.last_stage][] matching the last stage specified in the + * filter. ** *
bool negated = 2;
@@ -657,8 +650,8 @@ public Builder setNegated(boolean value) {
* * 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. + * [Application.last_stage][] matching the last stage specified in the + * filter. ** *
bool negated = 2;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationLastStageFilterOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationLastStageFilterOrBuilder.java
index 5c20e2464c28..0258ccdeaf39 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationLastStageFilterOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationLastStageFilterOrBuilder.java
@@ -15,8 +15,7 @@ public interface ApplicationLastStageFilterOrBuilder
* 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.
+ * [Application.last_stage][] in profiles.
*
*
* string last_stage = 1;
@@ -29,8 +28,7 @@ public interface ApplicationLastStageFilterOrBuilder
* 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.
+ * [Application.last_stage][] in profiles.
*
*
* string last_stage = 1;
@@ -43,8 +41,8 @@ public interface ApplicationLastStageFilterOrBuilder
* * 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. + * [Application.last_stage][] matching the last stage specified in the + * filter. ** *
bool negated = 2;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationName.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationName.java
new file mode 100644
index 000000000000..793dd67c277a
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationName.java
@@ -0,0 +1,241 @@
+/*
+ * Copyright 2018 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+package com.google.cloud.talent.v4beta1;
+
+import com.google.api.pathtemplate.PathTemplate;
+import com.google.api.resourcenames.ResourceName;
+import com.google.common.base.Preconditions;
+import com.google.common.collect.ImmutableMap;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS
+@javax.annotation.Generated("by GAPIC protoc plugin")
+public class ApplicationName implements ResourceName {
+
+ private static final PathTemplate PATH_TEMPLATE =
+ PathTemplate.createWithoutUrlEncoding(
+ "projects/{project}/tenants/{tenant}/profiles/{profile}/applications/{application}");
+
+ private volatile Map+ * Required during application update. + * Resource name assigned to an application by the API. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/api-test-project/tenants/foo/profiles/bar/applications/baz". + *+ * + *
string name = 1;
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ * + * Required during application update. + * Resource name assigned to an application by the API. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/api-test-project/tenants/foo/profiles/bar/applications/baz". + *+ * + *
string name = 1;
+ */
+ com.google.protobuf.ByteString getNameBytes();
+
+ /**
+ *
+ *
+ * + * Required. + * Client side application identifier, used to uniquely identify the + * recruiter. + * The maximum number of allowed characters is 255. + *+ * + *
string external_id = 31;
+ */
+ java.lang.String getExternalId();
+ /**
+ *
+ *
+ * + * Required. + * Client side application identifier, used to uniquely identify the + * recruiter. + * The maximum number of allowed characters is 255. + *+ * + *
string external_id = 31;
+ */
+ com.google.protobuf.ByteString getExternalIdBytes();
+
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the candidate of this application. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", + * for example, "projects/api-test-project/tenants/foo/profiles/bar". + *+ * + *
string profile = 2;
+ */
+ java.lang.String getProfile();
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the candidate of this application. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", + * for example, "projects/api-test-project/tenants/foo/profiles/bar". + *+ * + *
string profile = 2;
+ */
+ com.google.protobuf.ByteString getProfileBytes();
+
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the job which the candidate applied for. + * The format is + * "projects/{project_id}/jobs/{job_id}", + * for example, "projects/api-test-project/jobs/bar". + *+ * + *
string job = 4;
+ */
+ java.lang.String getJob();
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the job which the candidate applied for. + * The format is + * "projects/{project_id}/jobs/{job_id}", + * for example, "projects/api-test-project/jobs/bar". + *+ * + *
string job = 4;
+ */
+ com.google.protobuf.ByteString getJobBytes();
+
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the company which the candidate applied for. + * The format is + * "projects/{project_id}/companies/{company_id}", + * for example, "projects/api-test-project/companies/foo". + *+ * + *
string company = 5;
+ */
+ java.lang.String getCompany();
+ /**
+ *
+ *
+ * + * One of either a job or a company is required. + * Resource name of the company which the candidate applied for. + * The format is + * "projects/{project_id}/companies/{company_id}", + * for example, "projects/api-test-project/companies/foo". + *+ * + *
string company = 5;
+ */
+ com.google.protobuf.ByteString getCompanyBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ boolean hasApplicationDate();
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ com.google.type.Date getApplicationDate();
+ /**
+ *
+ *
+ * + * Optional. + * The application date. + *+ * + *
.google.type.Date application_date = 7;
+ */
+ com.google.type.DateOrBuilder getApplicationDateOrBuilder();
+
+ /**
+ *
+ *
+ * + * Required. + * What is the most recent stage of the application (that is, new, screen, + * send cv, hired, finished work)? This field is intentionally not + * comprehensive of every possible status, but instead, represents statuses + * that would be used to indicate to the ML models good / bad matches. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationStage stage = 11;
+ */
+ int getStageValue();
+ /**
+ *
+ *
+ * + * Required. + * What is the most recent stage of the application (that is, new, screen, + * send cv, hired, finished work)? This field is intentionally not + * comprehensive of every possible status, but instead, represents statuses + * that would be used to indicate to the ML models good / bad matches. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationStage stage = 11;
+ */
+ com.google.cloud.talent.v4beta1.Application.ApplicationStage getStage();
+
+ /**
+ *
+ *
+ * + * Optional. + * The application state. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationState state = 13;
+ */
+ int getStateValue();
+ /**
+ *
+ *
+ * + * Optional. + * The application state. + *+ * + *
.google.cloud.talent.v4beta1.Application.ApplicationState state = 13;
+ */
+ com.google.cloud.talent.v4beta1.Application.ApplicationState getState();
+
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ java.util.List+ * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ com.google.cloud.talent.v4beta1.Interview getInterviews(int index);
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ int getInterviewsCount();
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ java.util.List extends com.google.cloud.talent.v4beta1.InterviewOrBuilder>
+ getInterviewsOrBuilderList();
+ /**
+ *
+ *
+ * + * Optional. + * All interviews (screen, onsite, etc) conducted as part of this application + * (includes details such as user conducting the interview, timestamp, + * feedback, etc). + *+ * + *
repeated .google.cloud.talent.v4beta1.Interview interviews = 16;
+ */
+ com.google.cloud.talent.v4beta1.InterviewOrBuilder getInterviewsOrBuilder(int index);
+
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ boolean hasReferral();
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ com.google.protobuf.BoolValue getReferral();
+ /**
+ *
+ *
+ * + * Optional. + * If the candidate is referred by a employee. + *+ * + *
.google.protobuf.BoolValue referral = 18;
+ */
+ com.google.protobuf.BoolValueOrBuilder getReferralOrBuilder();
+
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ boolean hasCreateTime();
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ com.google.protobuf.Timestamp getCreateTime();
+ /**
+ *
+ *
+ * + * Required. + * Reflects the time that the application was created. + *+ * + *
.google.protobuf.Timestamp create_time = 19;
+ */
+ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ boolean hasUpdateTime();
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ com.google.protobuf.Timestamp getUpdateTime();
+ /**
+ *
+ *
+ * + * Optional. + * The last update timestamp. + *+ * + *
.google.protobuf.Timestamp update_time = 20;
+ */
+ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. + * Free text reason behind the recruitement outcome (for example, reason for + * withdraw / reject, reason for an unsuccessful finish, and so on). + * Number of characters allowed is 100. + *+ * + *
string outcome_notes = 21;
+ */
+ java.lang.String getOutcomeNotes();
+ /**
+ *
+ *
+ * + * Optional. + * Free text reason behind the recruitement outcome (for example, reason for + * withdraw / reject, reason for an unsuccessful finish, and so on). + * Number of characters allowed is 100. + *+ * + *
string outcome_notes = 21;
+ */
+ com.google.protobuf.ByteString getOutcomeNotesBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * Outcome positiveness shows how positive the outcome is. + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 22;
+ */
+ int getOutcomeValue();
+ /**
+ *
+ *
+ * + * Optional. + * Outcome positiveness shows how positive the outcome is. + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 22;
+ */
+ com.google.cloud.talent.v4beta1.Outcome getOutcome();
+
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ boolean hasIsMatch();
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ com.google.protobuf.BoolValue getIsMatch();
+ /**
+ *
+ *
+ * + * Output only. Indicates whether this job application is a match to + * application related filters. This value is only applicable in profile + * search response. + *+ * + *
.google.protobuf.BoolValue is_match = 28;
+ */
+ com.google.protobuf.BoolValueOrBuilder getIsMatchOrBuilder();
+
+ /**
+ *
+ *
+ * + * Output only. Job title snippet shows how the job title is related to a + * search query. It's empty if the job title isn't related to the search + * query. + *+ * + *
string job_title_snippet = 29;
+ */
+ java.lang.String getJobTitleSnippet();
+ /**
+ *
+ *
+ * + * Output only. Job title snippet shows how the job title is related to a + * search query. It's empty if the job title isn't related to the search + * query. + *+ * + *
string job_title_snippet = 29;
+ */
+ com.google.protobuf.ByteString getJobTitleSnippetBytes();
+}
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/ApplicationOutcomeNotesFilter.java
similarity index 73%
rename from google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationOutcomeReasonFilter.java
rename to google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationOutcomeNotesFilter.java
index a8cd281335c5..153e4237214e 100644
--- 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/ApplicationOutcomeNotesFilter.java
@@ -8,24 +8,23 @@
*
* * Input only. - * Outcome Reason Filter. + * Outcome Notes Filter. ** - * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter} + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter} */ -public final class ApplicationOutcomeReasonFilter extends com.google.protobuf.GeneratedMessageV3 +public final class ApplicationOutcomeNotesFilter extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter) - ApplicationOutcomeReasonFilterOrBuilder { + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter) + ApplicationOutcomeNotesFilterOrBuilder { private static final long serialVersionUID = 0L; - // Use ApplicationOutcomeReasonFilter.newBuilder() to construct. - private ApplicationOutcomeReasonFilter( - com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use ApplicationOutcomeNotesFilter.newBuilder() to construct. + private ApplicationOutcomeNotesFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private ApplicationOutcomeReasonFilter() { - outcomeReason_ = ""; + private ApplicationOutcomeNotesFilter() { + outcomeNotes_ = ""; negated_ = false; } @@ -34,7 +33,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private ApplicationOutcomeReasonFilter( + private ApplicationOutcomeNotesFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -57,7 +56,7 @@ private ApplicationOutcomeReasonFilter( { java.lang.String s = input.readStringRequireUtf8(); - outcomeReason_ = s; + outcomeNotes_ = s; break; } case 16: @@ -86,41 +85,41 @@ private ApplicationOutcomeReasonFilter( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeReasonFilter_descriptor; + .internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeNotesFilter_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 + .internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeNotesFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter.class, - com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter.Builder.class); + com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter.class, + com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter.Builder.class); } - public static final int OUTCOME_REASON_FIELD_NUMBER = 1; - private volatile java.lang.Object outcomeReason_; + public static final int OUTCOME_NOTES_FIELD_NUMBER = 1; + private volatile java.lang.Object outcomeNotes_; /** * * *
* 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] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * in profiles. ** - *
string outcome_reason = 1;
+ * string outcome_notes = 1;
*/
- public java.lang.String getOutcomeReason() {
- java.lang.Object ref = outcomeReason_;
+ public java.lang.String getOutcomeNotes() {
+ java.lang.Object ref = outcomeNotes_;
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;
+ outcomeNotes_ = s;
return s;
}
}
@@ -130,18 +129,18 @@ public 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] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * in profiles. ** - *
string outcome_reason = 1;
+ * string outcome_notes = 1;
*/
- public com.google.protobuf.ByteString getOutcomeReasonBytes() {
- java.lang.Object ref = outcomeReason_;
+ public com.google.protobuf.ByteString getOutcomeNotesBytes() {
+ java.lang.Object ref = outcomeNotes_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- outcomeReason_ = b;
+ outcomeNotes_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -156,7 +155,7 @@ public 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] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * matching the outcome reason specified in the filter. ** @@ -180,8 +179,8 @@ public final boolean isInitialized() { @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 (!getOutcomeNotesBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outcomeNotes_); } if (negated_ != false) { output.writeBool(2, negated_); @@ -195,8 +194,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getOutcomeReasonBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outcomeReason_); + if (!getOutcomeNotesBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outcomeNotes_); } if (negated_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, negated_); @@ -211,14 +210,14 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter)) { + if (!(obj instanceof com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter other = - (com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter) obj; + com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter other = + (com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter) obj; boolean result = true; - result = result && getOutcomeReason().equals(other.getOutcomeReason()); + result = result && getOutcomeNotes().equals(other.getOutcomeNotes()); result = result && (getNegated() == other.getNegated()); result = result && unknownFields.equals(other.unknownFields); return result; @@ -231,8 +230,8 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + OUTCOME_REASON_FIELD_NUMBER; - hash = (53 * hash) + getOutcomeReason().hashCode(); + hash = (37 * hash) + OUTCOME_NOTES_FIELD_NUMBER; + hash = (53 * hash) + getOutcomeNotes().hashCode(); hash = (37 * hash) + NEGATED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated()); hash = (29 * hash) + unknownFields.hashCode(); @@ -240,71 +239,71 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseFrom( + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseFrom( + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter 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( + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseFrom( + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter parseFrom( com.google.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 { + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter parseFrom( + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter 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( + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter 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( + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter 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( + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter 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( + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter 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( + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter 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( + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -322,7 +321,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter prototype) { + com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -341,31 +340,31 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
* Input only. - * Outcome Reason Filter. + * Outcome Notes Filter. ** - * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter} + * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter} */ 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] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * in profiles. ** - *
string outcome_reason = 1;
+ * string outcome_notes = 1;
*/
- public java.lang.String getOutcomeReason() {
- java.lang.Object ref = outcomeReason_;
+ public java.lang.String getOutcomeNotes() {
+ java.lang.Object ref = outcomeNotes_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- outcomeReason_ = s;
+ outcomeNotes_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -535,18 +534,18 @@ public 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] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * in profiles. ** - *
string outcome_reason = 1;
+ * string outcome_notes = 1;
*/
- public com.google.protobuf.ByteString getOutcomeReasonBytes() {
- java.lang.Object ref = outcomeReason_;
+ public com.google.protobuf.ByteString getOutcomeNotesBytes() {
+ java.lang.Object ref = outcomeNotes_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- outcomeReason_ = b;
+ outcomeNotes_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -558,18 +557,18 @@ public com.google.protobuf.ByteString getOutcomeReasonBytes() {
* * 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] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * in profiles. ** - *
string outcome_reason = 1;
+ * string outcome_notes = 1;
*/
- public Builder setOutcomeReason(java.lang.String value) {
+ public Builder setOutcomeNotes(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- outcomeReason_ = value;
+ outcomeNotes_ = value;
onChanged();
return this;
}
@@ -579,15 +578,15 @@ public Builder setOutcomeReason(java.lang.String value) {
* * 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] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * in profiles. ** - *
string outcome_reason = 1;
+ * string outcome_notes = 1;
*/
- public Builder clearOutcomeReason() {
+ public Builder clearOutcomeNotes() {
- outcomeReason_ = getDefaultInstance().getOutcomeReason();
+ outcomeNotes_ = getDefaultInstance().getOutcomeNotes();
onChanged();
return this;
}
@@ -597,19 +596,19 @@ public Builder clearOutcomeReason() {
* * 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] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * in profiles. ** - *
string outcome_reason = 1;
+ * string outcome_notes = 1;
*/
- public Builder setOutcomeReasonBytes(com.google.protobuf.ByteString value) {
+ public Builder setOutcomeNotesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- outcomeReason_ = value;
+ outcomeNotes_ = value;
onChanged();
return this;
}
@@ -621,7 +620,7 @@ public Builder setOutcomeReasonBytes(com.google.protobuf.ByteString value) {
* * Optional. * If true, The API excludes all candidates with any - * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * matching the outcome reason specified in the filter. ** @@ -636,7 +635,7 @@ public boolean getNegated() { *
* Optional. * If true, The API excludes all candidates with any - * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * matching the outcome reason specified in the filter. ** @@ -654,7 +653,7 @@ public Builder setNegated(boolean value) { *
* Optional. * If true, The API excludes all candidates with any - * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * matching the outcome reason specified in the filter. ** @@ -678,45 +677,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter) + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter) } - // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter) - private static final com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter + // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter) + private static final com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter(); + DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter(); } - public static com.google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter - getDefaultInstance() { + public static com.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter 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] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * in profiles. ** - *
string outcome_reason = 1;
+ * string outcome_notes = 1;
*/
- java.lang.String getOutcomeReason();
+ java.lang.String getOutcomeNotes();
/**
*
*
* * 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] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * in profiles. ** - *
string outcome_reason = 1;
+ * string outcome_notes = 1;
*/
- com.google.protobuf.ByteString getOutcomeReasonBytes();
+ com.google.protobuf.ByteString getOutcomeNotesBytes();
/**
*
@@ -41,7 +41,7 @@ public interface ApplicationOutcomeReasonFilterOrBuilder
* * Optional. * If true, The API excludes all candidates with any - * [JobApplication.outcome_reason][google.cloud.talent.v4beta1.JobApplication.outcome_reason] + * [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] * matching the outcome reason specified in the filter. ** diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationResourceProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationResourceProto.java new file mode 100644 index 000000000000..9833795f610b --- /dev/null +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationResourceProto.java @@ -0,0 +1,115 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/application.proto + +package com.google.cloud.talent.v4beta1; + +public final class ApplicationResourceProto { + private ApplicationResourceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Application_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Application_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/talent/v4beta1/applicatio" + + "n.proto\022\033google.cloud.talent.v4beta1\032\034go" + + "ogle/api/annotations.proto\032(google/cloud" + + "/talent/v4beta1/common.proto\032%google/clo" + + "ud/talent/v4beta1/job.proto\032\037google/prot" + + "obuf/timestamp.proto\032\036google/protobuf/wr" + + "appers.proto\032\026google/type/date.proto\"\302\007\n" + + "\013Application\022\014\n\004name\030\001 \001(\t\022\023\n\013external_i" + + "d\030\037 \001(\t\022\017\n\007profile\030\002 \001(\t\022\013\n\003job\030\004 \001(\t\022\017\n" + + "\007company\030\005 \001(\t\022+\n\020application_date\030\007 \001(\013" + + "2\021.google.type.Date\022H\n\005stage\030\013 \001(\01629.goo" + + "gle.cloud.talent.v4beta1.Application.App" + + "licationStage\022H\n\005state\030\r \001(\01629.google.cl" + + "oud.talent.v4beta1.Application.Applicati" + + "onState\022:\n\ninterviews\030\020 \003(\0132&.google.clo" + + "ud.talent.v4beta1.Interview\022,\n\010referral\030" + + "\022 \001(\0132\032.google.protobuf.BoolValue\022/\n\013cre" + + "ate_time\030\023 \001(\0132\032.google.protobuf.Timesta" + + "mp\022/\n\013update_time\030\024 \001(\0132\032.google.protobu" + + "f.Timestamp\022\025\n\routcome_notes\030\025 \001(\t\0225\n\007ou" + + "tcome\030\026 \001(\0162$.google.cloud.talent.v4beta" + + "1.Outcome\022,\n\010is_match\030\034 \001(\0132\032.google.pro" + + "tobuf.BoolValue\022\031\n\021job_title_snippet\030\035 \001" + + "(\t\"\220\001\n\020ApplicationState\022!\n\035APPLICATION_S" + + "TATE_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001\022\026\n\022C" + + "ANDIDATE_WITHDREW\020\002\022\025\n\021EMPLOYER_WITHDREW" + + "\020\003\022\r\n\tCOMPLETED\020\004\022\n\n\006CLOSED\020\005\"\251\001\n\020Applic" + + "ationStage\022!\n\035APPLICATION_STAGE_UNSPECIF" + + "IED\020\000\022\007\n\003NEW\020\001\022\n\n\006SCREEN\020\002\022\031\n\025HIRING_MAN" + + "AGER_REVIEW\020\003\022\r\n\tINTERVIEW\020\004\022\022\n\016OFFER_EX" + + "TENDED\020\005\022\022\n\016OFFER_ACCEPTED\020\006\022\013\n\007STARTED\020" + + "\007B\206\001\n\037com.google.cloud.talent.v4beta1B\030A" + + "pplicationResourceProtoP\001ZAgoogle.golang" + + ".org/genproto/googleapis/cloud/talent/v4" + + "beta1;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.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + }, + assigner); + internal_static_google_cloud_talent_v4beta1_Application_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Application_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Application_descriptor, + new java.lang.String[] { + "Name", + "ExternalId", + "Profile", + "Job", + "Company", + "ApplicationDate", + "Stage", + "State", + "Interviews", + "Referral", + "CreateTime", + "UpdateTime", + "OutcomeNotes", + "Outcome", + "IsMatch", + "JobTitleSnippet", + }); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.type.DateProto.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/ApplicationServiceProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceProto.java new file mode 100644 index 000000000000..0bf87e31cf23 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationServiceProto.java @@ -0,0 +1,178 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/application_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class ApplicationServiceProto { + private ApplicationServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateApplicationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateApplicationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetApplicationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetApplicationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateApplicationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateApplicationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteApplicationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteApplicationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListApplicationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListApplicationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListApplicationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListApplicationsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n5google/cloud/talent/v4beta1/applicatio" + + "n_service.proto\022\033google.cloud.talent.v4b" + + "eta1\032\034google/api/annotations.proto\032-goog" + + "le/cloud/talent/v4beta1/application.prot" + + "o\032(google/cloud/talent/v4beta1/common.pr" + + "oto\032\033google/protobuf/empty.proto\032 google" + + "/protobuf/field_mask.proto\"i\n\030CreateAppl" + + "icationRequest\022\016\n\006parent\030\001 \001(\t\022=\n\013applic" + + "ation\030\002 \001(\0132(.google.cloud.talent.v4beta" + + "1.Application\"%\n\025GetApplicationRequest\022\014" + + "\n\004name\030\001 \001(\t\"\212\001\n\030UpdateApplicationReques" + + "t\022=\n\013application\030\001 \001(\0132(.google.cloud.ta" + + "lent.v4beta1.Application\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"(\n\030Del" + + "eteApplicationRequest\022\014\n\004name\030\001 \001(\t\"P\n\027L" + + "istApplicationsRequest\022\016\n\006parent\030\001 \001(\t\022\022" + + "\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\"\264\001" + + "\n\030ListApplicationsResponse\022>\n\014applicatio" + + "ns\030\001 \003(\0132(.google.cloud.talent.v4beta1.A" + + "pplication\022\027\n\017next_page_token\030\002 \001(\t\022?\n\010m" + + "etadata\030\003 \001(\0132-.google.cloud.talent.v4be" + + "ta1.ResponseMetadata2\324\007\n\022ApplicationServ" + + "ice\022\277\001\n\021CreateApplication\0225.google.cloud" + + ".talent.v4beta1.CreateApplicationRequest" + + "\032(.google.cloud.talent.v4beta1.Applicati" + + "on\"I\202\323\344\223\002C\">/v4beta1/{parent=projects/*/" + + "tenants/*/profiles/*}/applications:\001*\022\266\001" + + "\n\016GetApplication\0222.google.cloud.talent.v" + + "4beta1.GetApplicationRequest\032(.google.cl" + + "oud.talent.v4beta1.Application\"F\202\323\344\223\002@\022>" + + "/v4beta1/{name=projects/*/tenants/*/prof" + + "iles/*/applications/*}\022\313\001\n\021UpdateApplica" + + "tion\0225.google.cloud.talent.v4beta1.Updat" + + "eApplicationRequest\032(.google.cloud.talen" + + "t.v4beta1.Application\"U\202\323\344\223\002O2J/v4beta1/" + + "{application.name=projects/*/tenants/*/p" + + "rofiles/*/applications/*}:\001*\022\252\001\n\021DeleteA" + + "pplication\0225.google.cloud.talent.v4beta1" + + ".DeleteApplicationRequest\032\026.google.proto" + + "buf.Empty\"F\202\323\344\223\002@*>/v4beta1/{name=projec" + + "ts/*/tenants/*/profiles/*/applications/*" + + "}\022\307\001\n\020ListApplications\0224.google.cloud.ta" + + "lent.v4beta1.ListApplicationsRequest\0325.g" + + "oogle.cloud.talent.v4beta1.ListApplicati" + + "onsResponse\"F\202\323\344\223\002@\022>/v4beta1/{parent=pr" + + "ojects/*/tenants/*/profiles/*}/applicati" + + "onsB\205\001\n\037com.google.cloud.talent.v4beta1B" + + "\027ApplicationServiceProtoP\001ZAgoogle.golan" + + "g.org/genproto/googleapis/cloud/talent/v" + + "4beta1;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.ApplicationResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }, + assigner); + internal_static_google_cloud_talent_v4beta1_CreateApplicationRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateApplicationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateApplicationRequest_descriptor, + new java.lang.String[] { + "Parent", "Application", + }); + internal_static_google_cloud_talent_v4beta1_GetApplicationRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetApplicationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetApplicationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_UpdateApplicationRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateApplicationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateApplicationRequest_descriptor, + new java.lang.String[] { + "Application", "UpdateMask", + }); + internal_static_google_cloud_talent_v4beta1_DeleteApplicationRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteApplicationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteApplicationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_ListApplicationsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_ListApplicationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListApplicationsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", + }); + internal_static_google_cloud_talent_v4beta1_ListApplicationsResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListApplicationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListApplicationsResponse_descriptor, + new java.lang.String[] { + "Applications", "NextPageToken", "Metadata", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.AnnotationsProto.http); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.cloud.talent.v4beta1.ApplicationResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.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/ApplicationStatusFilter.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilter.java index 5ba18abb1567..23bf80ea43bd 100644 --- 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 @@ -8,7 +8,7 @@ * *
* Input only. - * Filter on status of Application. + * Filter on state of Application. ** * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationStatusFilter} @@ -24,7 +24,7 @@ private ApplicationStatusFilter(com.google.protobuf.GeneratedMessageV3.Builder } private ApplicationStatusFilter() { - applicationStatus_ = 0; + applicationState_ = 0; negated_ = false; } @@ -56,7 +56,7 @@ private ApplicationStatusFilter( { int rawValue = input.readEnum(); - applicationStatus_ = rawValue; + applicationState_ = rawValue; break; } case 16: @@ -98,44 +98,43 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.talent.v4beta1.ApplicationStatusFilter.Builder.class); } - public static final int APPLICATION_STATUS_FIELD_NUMBER = 1; - private int applicationStatus_; + public static final int APPLICATION_STATE_FIELD_NUMBER = 1; + private int applicationState_; /** * * *
* 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. + * User entered or selected application state. The API does an exact match + * between the application state specified in this filter and the + * [Application.state][google.cloud.talent.v4beta1.Application.state] in + * profiles. ** - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
- *
+ * .google.cloud.talent.v4beta1.Application.ApplicationState application_state = 1;
*/
- public int getApplicationStatusValue() {
- return applicationStatus_;
+ public int getApplicationStateValue() {
+ return applicationState_;
}
/**
*
*
* * 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. + * User entered or selected application state. The API does an exact match + * between the application state specified in this filter and the + * [Application.state][google.cloud.talent.v4beta1.Application.state] in + * profiles. ** - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
- *
+ * .google.cloud.talent.v4beta1.Application.ApplicationState application_state = 1;
*/
- public com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus getApplicationStatus() {
+ public com.google.cloud.talent.v4beta1.Application.ApplicationState getApplicationState() {
@SuppressWarnings("deprecation")
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus result =
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.valueOf(
- applicationStatus_);
+ com.google.cloud.talent.v4beta1.Application.ApplicationState result =
+ com.google.cloud.talent.v4beta1.Application.ApplicationState.valueOf(applicationState_);
return result == null
- ? com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.UNRECOGNIZED
+ ? com.google.cloud.talent.v4beta1.Application.ApplicationState.UNRECOGNIZED
: result;
}
@@ -146,8 +145,9 @@ public com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus getAppli
*
* * Optional. - * If true, The API excludes all candidates with any [JobApplication.status][] - * matching the status specified in the filter. + * If true, The API excludes all candidates with any + * [Application.state][google.cloud.talent.v4beta1.Application.state] matching + * the state specified in the filter. ** *
bool negated = 2;
@@ -170,11 +170,11 @@ public final boolean isInitialized() {
@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
+ if (applicationState_
+ != com.google.cloud.talent.v4beta1.Application.ApplicationState
+ .APPLICATION_STATE_UNSPECIFIED
.getNumber()) {
- output.writeEnum(1, applicationStatus_);
+ output.writeEnum(1, applicationState_);
}
if (negated_ != false) {
output.writeBool(2, negated_);
@@ -188,11 +188,11 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (applicationStatus_
- != com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus
- .APPLICATION_STATUS_UNSPECIFIED
+ if (applicationState_
+ != com.google.cloud.talent.v4beta1.Application.ApplicationState
+ .APPLICATION_STATE_UNSPECIFIED
.getNumber()) {
- size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, applicationStatus_);
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, applicationState_);
}
if (negated_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, negated_);
@@ -214,7 +214,7 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloud.talent.v4beta1.ApplicationStatusFilter) obj;
boolean result = true;
- result = result && applicationStatus_ == other.applicationStatus_;
+ result = result && applicationState_ == other.applicationState_;
result = result && (getNegated() == other.getNegated());
result = result && unknownFields.equals(other.unknownFields);
return result;
@@ -227,8 +227,8 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + APPLICATION_STATUS_FIELD_NUMBER;
- hash = (53 * hash) + applicationStatus_;
+ hash = (37 * hash) + APPLICATION_STATE_FIELD_NUMBER;
+ hash = (53 * hash) + applicationState_;
hash = (37 * hash) + NEGATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated());
hash = (29 * hash) + unknownFields.hashCode();
@@ -337,7 +337,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* * Input only. - * Filter on status of Application. + * Filter on state of Application. ** * Protobuf type {@code google.cloud.talent.v4beta1.ApplicationStatusFilter} @@ -378,7 +378,7 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - applicationStatus_ = 0; + applicationState_ = 0; negated_ = false; @@ -409,7 +409,7 @@ public com.google.cloud.talent.v4beta1.ApplicationStatusFilter build() { public com.google.cloud.talent.v4beta1.ApplicationStatusFilter buildPartial() { com.google.cloud.talent.v4beta1.ApplicationStatusFilter result = new com.google.cloud.talent.v4beta1.ApplicationStatusFilter(this); - result.applicationStatus_ = applicationStatus_; + result.applicationState_ = applicationState_; result.negated_ = negated_; onBuilt(); return result; @@ -461,8 +461,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.talent.v4beta1.ApplicationStatusFilter other) { if (other == com.google.cloud.talent.v4beta1.ApplicationStatusFilter.getDefaultInstance()) return this; - if (other.applicationStatus_ != 0) { - setApplicationStatusValue(other.getApplicationStatusValue()); + if (other.applicationState_ != 0) { + setApplicationStateValue(other.getApplicationStateValue()); } if (other.getNegated() != false) { setNegated(other.getNegated()); @@ -497,38 +497,38 @@ public Builder mergeFrom( return this; } - private int applicationStatus_ = 0; + private int applicationState_ = 0; /** * * *
* 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. + * User entered or selected application state. The API does an exact match + * between the application state specified in this filter and the + * [Application.state][google.cloud.talent.v4beta1.Application.state] in + * profiles. ** - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
- *
+ * .google.cloud.talent.v4beta1.Application.ApplicationState application_state = 1;
*/
- public int getApplicationStatusValue() {
- return applicationStatus_;
+ public int getApplicationStateValue() {
+ return applicationState_;
}
/**
*
*
* * 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. + * User entered or selected application state. The API does an exact match + * between the application state specified in this filter and the + * [Application.state][google.cloud.talent.v4beta1.Application.state] in + * profiles. ** - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
- *
+ * .google.cloud.talent.v4beta1.Application.ApplicationState application_state = 1;
*/
- public Builder setApplicationStatusValue(int value) {
- applicationStatus_ = value;
+ public Builder setApplicationStateValue(int value) {
+ applicationState_ = value;
onChanged();
return this;
}
@@ -537,21 +537,20 @@ public Builder setApplicationStatusValue(int value) {
*
* * 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. + * User entered or selected application state. The API does an exact match + * between the application state specified in this filter and the + * [Application.state][google.cloud.talent.v4beta1.Application.state] in + * profiles. ** - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
- *
+ * .google.cloud.talent.v4beta1.Application.ApplicationState application_state = 1;
*/
- public com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus getApplicationStatus() {
+ public com.google.cloud.talent.v4beta1.Application.ApplicationState getApplicationState() {
@SuppressWarnings("deprecation")
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus result =
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.valueOf(
- applicationStatus_);
+ com.google.cloud.talent.v4beta1.Application.ApplicationState result =
+ com.google.cloud.talent.v4beta1.Application.ApplicationState.valueOf(applicationState_);
return result == null
- ? com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.UNRECOGNIZED
+ ? com.google.cloud.talent.v4beta1.Application.ApplicationState.UNRECOGNIZED
: result;
}
/**
@@ -559,21 +558,21 @@ public com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus getAppli
*
* * 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. + * User entered or selected application state. The API does an exact match + * between the application state specified in this filter and the + * [Application.state][google.cloud.talent.v4beta1.Application.state] in + * profiles. ** - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
- *
+ * .google.cloud.talent.v4beta1.Application.ApplicationState application_state = 1;
*/
- public Builder setApplicationStatus(
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus value) {
+ public Builder setApplicationState(
+ com.google.cloud.talent.v4beta1.Application.ApplicationState value) {
if (value == null) {
throw new NullPointerException();
}
- applicationStatus_ = value.getNumber();
+ applicationState_ = value.getNumber();
onChanged();
return this;
}
@@ -582,17 +581,17 @@ public Builder setApplicationStatus(
*
* * 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. + * User entered or selected application state. The API does an exact match + * between the application state specified in this filter and the + * [Application.state][google.cloud.talent.v4beta1.Application.state] in + * profiles. ** - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
- *
+ * .google.cloud.talent.v4beta1.Application.ApplicationState application_state = 1;
*/
- public Builder clearApplicationStatus() {
+ public Builder clearApplicationState() {
- applicationStatus_ = 0;
+ applicationState_ = 0;
onChanged();
return this;
}
@@ -603,8 +602,9 @@ public Builder clearApplicationStatus() {
*
* * Optional. - * If true, The API excludes all candidates with any [JobApplication.status][] - * matching the status specified in the filter. + * If true, The API excludes all candidates with any + * [Application.state][google.cloud.talent.v4beta1.Application.state] matching + * the state specified in the filter. ** *
bool negated = 2;
@@ -617,8 +617,9 @@ public boolean getNegated() {
*
* * Optional. - * If true, The API excludes all candidates with any [JobApplication.status][] - * matching the status specified in the filter. + * If true, The API excludes all candidates with any + * [Application.state][google.cloud.talent.v4beta1.Application.state] matching + * the state specified in the filter. ** *
bool negated = 2;
@@ -634,8 +635,9 @@ public Builder setNegated(boolean value) {
*
* * Optional. - * If true, The API excludes all candidates with any [JobApplication.status][] - * matching the status specified in the filter. + * If true, The API excludes all candidates with any + * [Application.state][google.cloud.talent.v4beta1.Application.state] matching + * the state specified in the filter. ** *
bool negated = 2;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilterOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilterOrBuilder.java
index 4ba49edc271a..687038040b71 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilterOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ApplicationStatusFilterOrBuilder.java
@@ -13,37 +13,38 @@ public interface ApplicationStatusFilterOrBuilder
*
* * 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. + * User entered or selected application state. The API does an exact match + * between the application state specified in this filter and the + * [Application.state][google.cloud.talent.v4beta1.Application.state] in + * profiles. ** - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
- *
+ * .google.cloud.talent.v4beta1.Application.ApplicationState application_state = 1;
*/
- int getApplicationStatusValue();
+ int getApplicationStateValue();
/**
*
*
* * 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. + * User entered or selected application state. The API does an exact match + * between the application state specified in this filter and the + * [Application.state][google.cloud.talent.v4beta1.Application.state] in + * profiles. ** - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus application_status = 1;
- *
+ * .google.cloud.talent.v4beta1.Application.ApplicationState application_state = 1;
*/
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus getApplicationStatus();
+ com.google.cloud.talent.v4beta1.Application.ApplicationState getApplicationState();
/**
*
*
* * Optional. - * If true, The API excludes all candidates with any [JobApplication.status][] - * matching the status specified in the filter. + * If true, The API excludes all candidates with any + * [Application.state][google.cloud.talent.v4beta1.Application.state] matching + * the state specified in the filter. ** *
bool negated = 2;
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
index 92cd60c74796..5e279335653a 100644
--- 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
@@ -107,9 +107,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -130,9 +132,11 @@ public 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -549,9 +553,11 @@ public Builder mergeFrom(
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -572,9 +578,11 @@ public 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -595,9 +603,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -616,9 +626,11 @@ public Builder setParent(java.lang.String value) {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -634,9 +646,11 @@ public Builder clearParent() {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java
index 6a473063f72d..940329496df5 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java
@@ -13,9 +13,11 @@ public interface BatchDeleteJobsRequestOrBuilder
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -26,9 +28,11 @@ public interface BatchDeleteJobsRequestOrBuilder
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
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
index cc70411de259..860443da0261 100644
--- 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
@@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/talent/v4beta1/profile.proto
+// source: google/cloud/talent/v4beta1/common.proto
package com.google.cloud.talent.v4beta1;
@@ -121,14 +121,14 @@ private Certification(
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.talent.v4beta1.ProfileResourceProto
+ return com.google.cloud.talent.v4beta1.CommonProto
.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
+ return com.google.cloud.talent.v4beta1.CommonProto
.internal_static_google_cloud_talent_v4beta1_Certification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.talent.v4beta1.Certification.class,
@@ -189,7 +189,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -202,7 +202,7 @@ public boolean hasAcquireDate() {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -215,7 +215,7 @@ public com.google.type.Date getAcquireDate() {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -580,14 +580,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3
// @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Certification)
com.google.cloud.talent.v4beta1.CertificationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.cloud.talent.v4beta1.ProfileResourceProto
+ return com.google.cloud.talent.v4beta1.CommonProto
.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
+ return com.google.cloud.talent.v4beta1.CommonProto
.internal_static_google_cloud_talent_v4beta1_Certification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.talent.v4beta1.Certification.class,
@@ -634,7 +634,7 @@ public Builder clear() {
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.talent.v4beta1.ProfileResourceProto
+ return com.google.cloud.talent.v4beta1.CommonProto
.internal_static_google_cloud_talent_v4beta1_Certification_descriptor;
}
@@ -878,7 +878,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -891,7 +891,7 @@ public boolean hasAcquireDate() {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -908,7 +908,7 @@ public com.google.type.Date getAcquireDate() {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -931,7 +931,7 @@ public Builder setAcquireDate(com.google.type.Date value) {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -951,7 +951,7 @@ public Builder setAcquireDate(com.google.type.Date.Builder builderForValue) {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -976,7 +976,7 @@ public Builder mergeAcquireDate(com.google.type.Date value) {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -997,7 +997,7 @@ public Builder clearAcquireDate() {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -1012,7 +1012,7 @@ public com.google.type.Date.Builder getAcquireDateBuilder() {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -1029,7 +1029,7 @@ public com.google.type.DateOrBuilder getAcquireDateOrBuilder() {
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CertificationOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CertificationOrBuilder.java
index fedbadb23e35..60053d02974c 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CertificationOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CertificationOrBuilder.java
@@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/talent/v4beta1/profile.proto
+// source: google/cloud/talent/v4beta1/common.proto
package com.google.cloud.talent.v4beta1;
@@ -38,7 +38,7 @@ public interface CertificationOrBuilder
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -49,7 +49,7 @@ public interface CertificationOrBuilder
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
@@ -60,7 +60,7 @@ public interface CertificationOrBuilder
*
* * Optional. - * Acquirement date or effective date of license or certification. + * Acquisition date or effective date of license or certification. ** *
.google.type.Date acquire_date = 2;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
index a24c6d2e2d73..285af5b8b71c 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
@@ -29,6 +29,7 @@ private ClientEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private ClientEvent() {
requestId_ = "";
eventId_ = "";
+ eventNotes_ = "";
}
@java.lang.Override
@@ -116,19 +117,11 @@ private ClientEvent(
eventCase_ = 6;
break;
}
- case 58:
+ case 74:
{
- if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
- extraInfo_ =
- com.google.protobuf.MapField.newMapField(
- ExtraInfoDefaultEntryHolder.defaultEntry);
- mutable_bitField0_ |= 0x00000020;
- }
- com.google.protobuf.MapEntry* Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. + * Notes about the event provided by recruiters or other users, for example, + * feedback on why a profile was bookmarked. ** - *
map<string, string> extra_info = 7;
+ * string event_notes = 9;
*/
- public boolean containsExtraInfo(java.lang.String key) {
- if (key == null) {
- throw new java.lang.NullPointerException();
- }
- return internalGetExtraInfo().getMap().containsKey(key);
- }
- /** Use {@link #getExtraInfoMap()} instead. */
- @java.lang.Deprecated
- public java.util.Map- * Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. - *- * - *
map<string, string> extra_info = 7;
- */
- public java.util.Map- * Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. - *- * - *
map<string, string> extra_info = 7;
- */
- public java.lang.String getExtraInfoOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
- if (key == null) {
- throw new java.lang.NullPointerException();
+ public java.lang.String getEventNotes() {
+ java.lang.Object ref = eventNotes_;
+ 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();
+ eventNotes_ = s;
+ return s;
}
- java.util.Map* Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. + * Notes about the event provided by recruiters or other users, for example, + * feedback on why a profile was bookmarked. ** - *
map<string, string> extra_info = 7;
+ * string event_notes = 9;
*/
- public java.lang.String getExtraInfoOrThrow(java.lang.String key) {
- if (key == null) {
- throw new java.lang.NullPointerException();
- }
- java.util.Map* Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. + * Notes about the event provided by recruiters or other users, for example, + * feedback on why a profile was bookmarked. ** - *
map<string, string> extra_info = 7;
+ * string event_notes = 9;
*/
- public boolean containsExtraInfo(java.lang.String key) {
- if (key == null) {
- throw new java.lang.NullPointerException();
+ public java.lang.String getEventNotes() {
+ java.lang.Object ref = eventNotes_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ eventNotes_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
}
- return internalGetExtraInfo().getMap().containsKey(key);
- }
- /** Use {@link #getExtraInfoMap()} instead. */
- @java.lang.Deprecated
- public java.util.Map- * Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. - *- * - *
map<string, string> extra_info = 7;
- */
- public java.util.Map* Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. + * Notes about the event provided by recruiters or other users, for example, + * feedback on why a profile was bookmarked. ** - *
map<string, string> extra_info = 7;
+ * string event_notes = 9;
*/
- public java.lang.String getExtraInfoOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
- if (key == null) {
- throw new java.lang.NullPointerException();
+ public com.google.protobuf.ByteString getEventNotesBytes() {
+ java.lang.Object ref = eventNotes_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ eventNotes_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
}
- java.util.Map* Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. + * Notes about the event provided by recruiters or other users, for example, + * feedback on why a profile was bookmarked. ** - *
map<string, string> extra_info = 7;
+ * string event_notes = 9;
*/
- public java.lang.String getExtraInfoOrThrow(java.lang.String key) {
- if (key == null) {
- throw new java.lang.NullPointerException();
- }
- java.util.Map* Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. + * Notes about the event provided by recruiters or other users, for example, + * feedback on why a profile was bookmarked. ** - *
map<string, string> extra_info = 7;
+ * string event_notes = 9;
*/
- public Builder removeExtraInfo(java.lang.String key) {
- if (key == null) {
- throw new java.lang.NullPointerException();
- }
- internalGetMutableExtraInfo().getMutableMap().remove(key);
+ public Builder clearEventNotes() {
+
+ eventNotes_ = getDefaultInstance().getEventNotes();
+ onChanged();
return this;
}
- /** Use alternate mutation accessors instead. */
- @java.lang.Deprecated
- public java.util.Map* Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. + * Notes about the event provided by recruiters or other users, for example, + * feedback on why a profile was bookmarked. ** - *
map<string, string> extra_info = 7;
+ * string event_notes = 9;
*/
- public Builder putExtraInfo(java.lang.String key, java.lang.String value) {
- if (key == null) {
- throw new java.lang.NullPointerException();
- }
+ public Builder setEventNotesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException();
}
- internalGetMutableExtraInfo().getMutableMap().put(key, value);
- return this;
- }
- /**
- *
- *
- * - * Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. - *- * - *
map<string, string> extra_info = 7;
- */
- public Builder putAllExtraInfo(java.util.Map* Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. + * Notes about the event provided by recruiters or other users, for example, + * feedback on why a profile was bookmarked. ** - *
map<string, string> extra_info = 7;
+ * string event_notes = 9;
*/
- int getExtraInfoCount();
+ java.lang.String getEventNotes();
/**
*
*
* * Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. + * Notes about the event provided by recruiters or other users, for example, + * feedback on why a profile was bookmarked. ** - *
map<string, string> extra_info = 7;
+ * string event_notes = 9;
*/
- boolean containsExtraInfo(java.lang.String key);
- /** Use {@link #getExtraInfoMap()} instead. */
- @java.lang.Deprecated
- java.util.Map- * Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. - *- * - *
map<string, string> extra_info = 7;
- */
- java.util.Map- * Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. - *- * - *
map<string, string> extra_info = 7;
- */
- java.lang.String getExtraInfoOrDefault(java.lang.String key, java.lang.String defaultValue);
- /**
- *
- *
- * - * Optional. - * Extra information about this event. Used for storing information with no - * matching field in [event][google.cloud.talent.v4beta1.event] payload, for - * example, user application specific context or details. - * At most 20 keys are supported. The maximum total size of all keys and - * values is 2 KB. - *- * - *
map<string, string> extra_info = 7;
- */
- java.lang.String getExtraInfoOrThrow(java.lang.String key);
+ com.google.protobuf.ByteString getEventNotesBytes();
public com.google.cloud.talent.v4beta1.ClientEvent.EventCase getEventCase();
}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java
index f97ab435d1be..b2c2ad525dc3 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java
@@ -52,6 +52,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_talent_v4beta1_Certification_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_talent_v4beta1_Certification_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_talent_v4beta1_Skill_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_talent_v4beta1_Skill_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_talent_v4beta1_Interview_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_talent_v4beta1_Interview_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_talent_v4beta1_Rating_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_talent_v4beta1_Rating_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -65,128 +81,150 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "to\022\033google.cloud.talent.v4beta1\032\034google/"
+ "api/annotations.proto\032\037google/protobuf/t"
+ "imestamp.proto\032\036google/protobuf/wrappers"
- + ".proto\032\030google/type/latlng.proto\032\027google"
- + "/type/money.proto\032 google/type/postal_ad"
- + "dress.proto\"n\n\016TimestampRange\022.\n\nstart_t"
- + "ime\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n"
- + "\010end_time\030\002 \001(\0132\032.google.protobuf.Timest"
- + "amp\"\267\003\n\010Location\022I\n\rlocation_type\030\001 \001(\0162"
- + "2.google.cloud.talent.v4beta1.Location.L"
- + "ocationType\0222\n\016postal_address\030\002 \001(\0132\032.go"
- + "ogle.type.PostalAddress\022$\n\007lat_lng\030\003 \001(\013"
- + "2\023.google.type.LatLng\022\024\n\014radius_miles\030\004 "
- + "\001(\001\"\357\001\n\014LocationType\022\035\n\031LOCATION_TYPE_UN"
- + "SPECIFIED\020\000\022\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTRATI"
- + "VE_AREA\020\002\022\033\n\027SUB_ADMINISTRATIVE_AREA\020\003\022\014"
- + "\n\010LOCALITY\020\004\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_LOC"
- + "ALITY\020\006\022\022\n\016SUB_LOCALITY_1\020\007\022\022\n\016SUB_LOCAL"
- + "ITY_2\020\010\022\020\n\014NEIGHBORHOOD\020\t\022\022\n\016STREET_ADDR"
- + "ESS\020\n\"\237\001\n\017RequestMetadata\022\016\n\006domain\030\001 \001("
- + "\t\022\022\n\nsession_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(\t\022\031"
- + "\n\021allow_missing_ids\030\004 \001(\010\022<\n\013device_info"
- + "\030\005 \001(\0132\'.google.cloud.talent.v4beta1.Dev"
- + "iceInfo\"&\n\020ResponseMetadata\022\022\n\nrequest_i"
- + "d\030\001 \001(\t\"\317\001\n\nDeviceInfo\022G\n\013device_type\030\001 "
- + "\001(\01622.google.cloud.talent.v4beta1.Device"
- + "Info.DeviceType\022\n\n\002id\030\002 \001(\t\"l\n\nDeviceTyp"
- + "e\022\033\n\027DEVICE_TYPE_UNSPECIFIED\020\000\022\007\n\003WEB\020\001\022"
- + "\016\n\nMOBILE_WEB\020\002\022\013\n\007ANDROID\020\003\022\007\n\003IOS\020\004\022\007\n"
- + "\003BOT\020\005\022\t\n\005OTHER\020\006\"Q\n\017CustomAttribute\022\025\n\r"
- + "string_values\030\001 \003(\t\022\023\n\013long_values\030\002 \003(\003"
- + "\022\022\n\nfilterable\030\003 \001(\010\"W\n\022SpellingCorrecti"
- + "on\022\021\n\tcorrected\030\001 \001(\010\022\026\n\016corrected_text\030"
- + "\002 \001(\t\022\026\n\016corrected_html\030\003 \001(\t\"\234\t\n\020Compen"
- + "sationInfo\022P\n\007entries\030\001 \003(\0132?.google.clo"
- + "ud.talent.v4beta1.CompensationInfo.Compe"
- + "nsationEntry\022k\n\"annualized_base_compensa"
- + "tion_range\030\002 \001(\0132?.google.cloud.talent.v"
- + "4beta1.CompensationInfo.CompensationRang"
- + "e\022l\n#annualized_total_compensation_range"
- + "\030\003 \001(\0132?.google.cloud.talent.v4beta1.Com"
- + "pensationInfo.CompensationRange\032\222\003\n\021Comp"
- + "ensationEntry\022L\n\004type\030\001 \001(\0162>.google.clo"
+ + ".proto\032\026google/type/date.proto\032\033google/t"
+ + "ype/dayofweek.proto\032\030google/type/latlng."
+ + "proto\032\027google/type/money.proto\032 google/t"
+ + "ype/postal_address.proto\032\033google/type/ti"
+ + "meofday.proto\"n\n\016TimestampRange\022.\n\nstart"
+ + "_time\030\001 \001(\0132\032.google.protobuf.Timestamp\022"
+ + ",\n\010end_time\030\002 \001(\0132\032.google.protobuf.Time"
+ + "stamp\"\267\003\n\010Location\022I\n\rlocation_type\030\001 \001("
+ + "\01622.google.cloud.talent.v4beta1.Location"
+ + ".LocationType\0222\n\016postal_address\030\002 \001(\0132\032."
+ + "google.type.PostalAddress\022$\n\007lat_lng\030\003 \001"
+ + "(\0132\023.google.type.LatLng\022\024\n\014radius_miles\030"
+ + "\004 \001(\001\"\357\001\n\014LocationType\022\035\n\031LOCATION_TYPE_"
+ + "UNSPECIFIED\020\000\022\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTRA"
+ + "TIVE_AREA\020\002\022\033\n\027SUB_ADMINISTRATIVE_AREA\020\003"
+ + "\022\014\n\010LOCALITY\020\004\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_L"
+ + "OCALITY\020\006\022\022\n\016SUB_LOCALITY_1\020\007\022\022\n\016SUB_LOC"
+ + "ALITY_2\020\010\022\020\n\014NEIGHBORHOOD\020\t\022\022\n\016STREET_AD"
+ + "DRESS\020\n\"\237\001\n\017RequestMetadata\022\016\n\006domain\030\001 "
+ + "\001(\t\022\022\n\nsession_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(\t"
+ + "\022\031\n\021allow_missing_ids\030\004 \001(\010\022<\n\013device_in"
+ + "fo\030\005 \001(\0132\'.google.cloud.talent.v4beta1.D"
+ + "eviceInfo\"&\n\020ResponseMetadata\022\022\n\nrequest"
+ + "_id\030\001 \001(\t\"\317\001\n\nDeviceInfo\022G\n\013device_type\030"
+ + "\001 \001(\01622.google.cloud.talent.v4beta1.Devi"
+ + "ceInfo.DeviceType\022\n\n\002id\030\002 \001(\t\"l\n\nDeviceT"
+ + "ype\022\033\n\027DEVICE_TYPE_UNSPECIFIED\020\000\022\007\n\003WEB\020"
+ + "\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007ANDROID\020\003\022\007\n\003IOS\020\004\022"
+ + "\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"Q\n\017CustomAttribute\022\025"
+ + "\n\rstring_values\030\001 \003(\t\022\023\n\013long_values\030\002 \003"
+ + "(\003\022\022\n\nfilterable\030\003 \001(\010\"W\n\022SpellingCorrec"
+ + "tion\022\021\n\tcorrected\030\001 \001(\010\022\026\n\016corrected_tex"
+ + "t\030\002 \001(\t\022\026\n\016corrected_html\030\003 \001(\t\"\234\t\n\020Comp"
+ + "ensationInfo\022P\n\007entries\030\001 \003(\0132?.google.c"
+ + "loud.talent.v4beta1.CompensationInfo.Com"
+ + "pensationEntry\022k\n\"annualized_base_compen"
+ + "sation_range\030\002 \001(\0132?.google.cloud.talent"
+ + ".v4beta1.CompensationInfo.CompensationRa"
+ + "nge\022l\n#annualized_total_compensation_ran"
+ + "ge\030\003 \001(\0132?.google.cloud.talent.v4beta1.C"
+ + "ompensationInfo.CompensationRange\032\222\003\n\021Co"
+ + "mpensationEntry\022L\n\004type\030\001 \001(\0162>.google.c"
+ + "loud.talent.v4beta1.CompensationInfo.Com"
+ + "pensationType\022L\n\004unit\030\002 \001(\0162>.google.clo"
+ "ud.talent.v4beta1.CompensationInfo.Compe"
- + "nsationType\022L\n\004unit\030\002 \001(\0162>.google.cloud"
- + ".talent.v4beta1.CompensationInfo.Compens"
- + "ationUnit\022$\n\006amount\030\003 \001(\0132\022.google.type."
- + "MoneyH\000\022P\n\005range\030\004 \001(\0132?.google.cloud.ta"
- + "lent.v4beta1.CompensationInfo.Compensati"
- + "onRangeH\000\022\023\n\013description\030\005 \001(\t\022=\n\027expect"
- + "ed_units_per_year\030\006 \001(\0132\034.google.protobu"
- + "f.DoubleValueB\025\n\023compensation_amount\032o\n\021"
- + "CompensationRange\022,\n\020max_compensation\030\002 "
- + "\001(\0132\022.google.type.Money\022,\n\020min_compensat"
- + "ion\030\001 \001(\0132\022.google.type.Money\"\265\001\n\020Compen"
- + "sationType\022!\n\035COMPENSATION_TYPE_UNSPECIF"
- + "IED\020\000\022\010\n\004BASE\020\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_BO"
- + "NUS\020\003\022\n\n\006EQUITY\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017\n"
- + "\013COMMISSIONS\020\006\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPEN"
- + "SATION_TYPE\020\010\"\234\001\n\020CompensationUnit\022!\n\035CO"
- + "MPENSATION_UNIT_UNSPECIFIED\020\000\022\n\n\006HOURLY\020"
- + "\001\022\t\n\005DAILY\020\002\022\n\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n\n"
- + "\006YEARLY\020\005\022\014\n\010ONE_TIME\020\006\022\033\n\027OTHER_COMPENS"
- + "ATION_UNIT\020\007*y\n\013CompanySize\022\034\n\030COMPANY_S"
- + "IZE_UNSPECIFIED\020\000\022\010\n\004MINI\020\001\022\t\n\005SMALL\020\002\022\013"
- + "\n\007SMEDIUM\020\003\022\n\n\006MEDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006BIGG"
- + "ER\020\006\022\t\n\005GIANT\020\007*\342\001\n\nJobBenefit\022\033\n\027JOB_BE"
- + "NEFIT_UNSPECIFIED\020\000\022\016\n\nCHILD_CARE\020\001\022\n\n\006D"
- + "ENTAL\020\002\022\024\n\020DOMESTIC_PARTNER\020\003\022\022\n\016FLEXIBL"
- + "E_HOURS\020\004\022\013\n\007MEDICAL\020\005\022\022\n\016LIFE_INSURANCE"
- + "\020\006\022\022\n\016PARENTAL_LEAVE\020\007\022\023\n\017RETIREMENT_PLA"
- + "N\020\010\022\r\n\tSICK_DAYS\020\t\022\014\n\010VACATION\020\n\022\n\n\006VISI"
- + "ON\020\013*\216\002\n\nDegreeType\022\033\n\027DEGREE_TYPE_UNSPE"
- + "CIFIED\020\000\022\025\n\021PRIMARY_EDUCATION\020\001\022\035\n\031LOWER"
- + "_SECONDARY_EDUCATION\020\002\022\035\n\031UPPER_SECONDAR"
- + "Y_EDUCATION\020\003\022\034\n\030ADULT_REMEDIAL_EDUCATIO"
- + "N\020\004\022\034\n\030ASSOCIATES_OR_EQUIVALENT\020\005\022\033\n\027BAC"
- + "HELORS_OR_EQUIVALENT\020\006\022\031\n\025MASTERS_OR_EQU"
- + "IVALENT\020\007\022\032\n\026DOCTORAL_OR_EQUIVALENT\020\010*\334\001"
- + "\n\016EmploymentType\022\037\n\033EMPLOYMENT_TYPE_UNSP"
- + "ECIFIED\020\000\022\r\n\tFULL_TIME\020\001\022\r\n\tPART_TIME\020\002\022"
- + "\016\n\nCONTRACTOR\020\003\022\024\n\020CONTRACT_TO_HIRE\020\004\022\r\n"
- + "\tTEMPORARY\020\005\022\n\n\006INTERN\020\006\022\r\n\tVOLUNTEER\020\007\022"
- + "\014\n\010PER_DIEM\020\010\022\022\n\016FLY_IN_FLY_OUT\020\t\022\031\n\025OTH"
- + "ER_EMPLOYMENT_TYPE\020\n*q\n\010JobLevel\022\031\n\025JOB_"
- + "LEVEL_UNSPECIFIED\020\000\022\017\n\013ENTRY_LEVEL\020\001\022\017\n\013"
- + "EXPERIENCED\020\002\022\013\n\007MANAGER\020\003\022\014\n\010DIRECTOR\020\004"
- + "\022\r\n\tEXECUTIVE\020\005*\272\006\n\013JobCategory\022\034\n\030JOB_C"
- + "ATEGORY_UNSPECIFIED\020\000\022\032\n\026ACCOUNTING_AND_"
- + "FINANCE\020\001\022\035\n\031ADMINISTRATIVE_AND_OFFICE\020\002"
- + "\022\035\n\031ADVERTISING_AND_MARKETING\020\003\022\017\n\013ANIMA"
- + "L_CARE\020\004\022\032\n\026ART_FASHION_AND_DESIGN\020\005\022\027\n\023"
- + "BUSINESS_OPERATIONS\020\006\022\033\n\027CLEANING_AND_FA"
- + "CILITIES\020\007\022\023\n\017COMPUTER_AND_IT\020\010\022\020\n\014CONST"
- + "RUCTION\020\t\022\024\n\020CUSTOMER_SERVICE\020\n\022\r\n\tEDUCA"
- + "TION\020\013\022\034\n\030ENTERTAINMENT_AND_TRAVEL\020\014\022\030\n\024"
- + "FARMING_AND_OUTDOORS\020\r\022\016\n\nHEALTHCARE\020\016\022\023"
- + "\n\017HUMAN_RESOURCES\020\017\022\'\n#INSTALLATION_MAIN"
- + "TENANCE_AND_REPAIR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nMANAG"
- + "EMENT\020\022\022\037\n\033MANUFACTURING_AND_WAREHOUSE\020\023"
- + "\022$\n MEDIA_COMMUNICATIONS_AND_WRITING\020\024\022\026"
- + "\n\022OIL_GAS_AND_MINING\020\025\022\036\n\032PERSONAL_CARE_"
- + "AND_SERVICES\020\026\022\027\n\023PROTECTIVE_SERVICES\020\027\022"
- + "\017\n\013REAL_ESTATE\020\030\022\036\n\032RESTAURANT_AND_HOSPI"
- + "TALITY\020\031\022\024\n\020SALES_AND_RETAIL\020\032\022\033\n\027SCIENC"
- + "E_AND_ENGINEERING\020\033\022\"\n\036SOCIAL_SERVICES_A"
- + "ND_NON_PROFIT\020\034\022!\n\035SPORTS_FITNESS_AND_RE"
- + "CREATION\020\035\022 \n\034TRANSPORTATION_AND_LOGISTI"
- + "CS\020\036*e\n\rPostingRegion\022\036\n\032POSTING_REGION_"
- + "UNSPECIFIED\020\000\022\027\n\023ADMINISTRATIVE_AREA\020\001\022\n"
- + "\n\006NATION\020\002\022\017\n\013TELECOMMUTE\020\003*j\n\nVisibilit"
- + "y\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\020\n\014ACCOUNT"
- + "_ONLY\020\001\022\026\n\022SHARED_WITH_GOOGLE\020\002\022\026\n\022SHARE"
- + "D_WITH_PUBLIC\020\003*Z\n\020ContactInfoUsage\022\"\n\036C"
- + "ONTACT_INFO_USAGE_UNSPECIFIED\020\000\022\014\n\010PERSO"
- + "NAL\020\001\022\010\n\004WORK\020\002\022\n\n\006SCHOOL\020\003*q\n\020HtmlSanit"
- + "ization\022!\n\035HTML_SANITIZATION_UNSPECIFIED"
- + "\020\000\022\036\n\032HTML_SANITIZATION_DISABLED\020\001\022\032\n\026SI"
- + "MPLE_FORMATTING_ONLY\020\002*{\n\rCommuteMethod\022"
- + "\036\n\032COMMUTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVI"
- + "NG\020\001\022\013\n\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLIN"
- + "G\020\004\022\026\n\022TRANSIT_ACCESSIBLE\020\005By\n\037com.googl"
- + "e.cloud.talent.v4beta1B\013CommonProtoP\001ZAg"
- + "oogle.golang.org/genproto/googleapis/clo"
- + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3"
+ + "nsationUnit\022$\n\006amount\030\003 \001(\0132\022.google.typ"
+ + "e.MoneyH\000\022P\n\005range\030\004 \001(\0132?.google.cloud."
+ + "talent.v4beta1.CompensationInfo.Compensa"
+ + "tionRangeH\000\022\023\n\013description\030\005 \001(\t\022=\n\027expe"
+ + "cted_units_per_year\030\006 \001(\0132\034.google.proto"
+ + "buf.DoubleValueB\025\n\023compensation_amount\032o"
+ + "\n\021CompensationRange\022,\n\020max_compensation\030"
+ + "\002 \001(\0132\022.google.type.Money\022,\n\020min_compens"
+ + "ation\030\001 \001(\0132\022.google.type.Money\"\265\001\n\020Comp"
+ + "ensationType\022!\n\035COMPENSATION_TYPE_UNSPEC"
+ + "IFIED\020\000\022\010\n\004BASE\020\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_"
+ + "BONUS\020\003\022\n\n\006EQUITY\020\004\022\022\n\016PROFIT_SHARING\020\005\022"
+ + "\017\n\013COMMISSIONS\020\006\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMP"
+ + "ENSATION_TYPE\020\010\"\234\001\n\020CompensationUnit\022!\n\035"
+ + "COMPENSATION_UNIT_UNSPECIFIED\020\000\022\n\n\006HOURL"
+ + "Y\020\001\022\t\n\005DAILY\020\002\022\n\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022"
+ + "\n\n\006YEARLY\020\005\022\014\n\010ONE_TIME\020\006\022\033\n\027OTHER_COMPE"
+ + "NSATION_UNIT\020\007\"\236\001\n\rCertification\022\024\n\014disp"
+ + "lay_name\030\001 \001(\t\022\'\n\014acquire_date\030\002 \001(\0132\021.g"
+ + "oogle.type.Date\022&\n\013expire_date\030\003 \001(\0132\021.g"
+ + "oogle.type.Date\022\021\n\tauthority\030\004 \001(\t\022\023\n\013de"
+ + "scription\030\005 \001(\t\"\270\001\n\005Skill\022\024\n\014display_nam"
+ + "e\030\001 \001(\t\022)\n\016last_used_date\030\002 \001(\0132\021.google"
+ + ".type.Date\022A\n\005level\030\003 \001(\01622.google.cloud"
+ + ".talent.v4beta1.SkillProficiencyLevel\022\017\n"
+ + "\007context\030\004 \001(\t\022\032\n\022skill_name_snippet\030\005 \001"
+ + "(\t\"w\n\tInterview\0223\n\006rating\030\006 \001(\0132#.google"
+ + ".cloud.talent.v4beta1.Rating\0225\n\007outcome\030"
+ + "\007 \001(\0162$.google.cloud.talent.v4beta1.Outc"
+ + "ome\"E\n\006Rating\022\017\n\007overall\030\001 \001(\001\022\013\n\003min\030\002 "
+ + "\001(\001\022\013\n\003max\030\003 \001(\001\022\020\n\010interval\030\004 \001(\001*y\n\013Co"
+ + "mpanySize\022\034\n\030COMPANY_SIZE_UNSPECIFIED\020\000\022"
+ + "\010\n\004MINI\020\001\022\t\n\005SMALL\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006MED"
+ + "IUM\020\004\022\007\n\003BIG\020\005\022\n\n\006BIGGER\020\006\022\t\n\005GIANT\020\007*\342\001"
+ + "\n\nJobBenefit\022\033\n\027JOB_BENEFIT_UNSPECIFIED\020"
+ + "\000\022\016\n\nCHILD_CARE\020\001\022\n\n\006DENTAL\020\002\022\024\n\020DOMESTI"
+ + "C_PARTNER\020\003\022\022\n\016FLEXIBLE_HOURS\020\004\022\013\n\007MEDIC"
+ + "AL\020\005\022\022\n\016LIFE_INSURANCE\020\006\022\022\n\016PARENTAL_LEA"
+ + "VE\020\007\022\023\n\017RETIREMENT_PLAN\020\010\022\r\n\tSICK_DAYS\020\t"
+ + "\022\014\n\010VACATION\020\n\022\n\n\006VISION\020\013*\216\002\n\nDegreeTyp"
+ + "e\022\033\n\027DEGREE_TYPE_UNSPECIFIED\020\000\022\025\n\021PRIMAR"
+ + "Y_EDUCATION\020\001\022\035\n\031LOWER_SECONDARY_EDUCATI"
+ + "ON\020\002\022\035\n\031UPPER_SECONDARY_EDUCATION\020\003\022\034\n\030A"
+ + "DULT_REMEDIAL_EDUCATION\020\004\022\034\n\030ASSOCIATES_"
+ + "OR_EQUIVALENT\020\005\022\033\n\027BACHELORS_OR_EQUIVALE"
+ + "NT\020\006\022\031\n\025MASTERS_OR_EQUIVALENT\020\007\022\032\n\026DOCTO"
+ + "RAL_OR_EQUIVALENT\020\010*\334\001\n\016EmploymentType\022\037"
+ + "\n\033EMPLOYMENT_TYPE_UNSPECIFIED\020\000\022\r\n\tFULL_"
+ + "TIME\020\001\022\r\n\tPART_TIME\020\002\022\016\n\nCONTRACTOR\020\003\022\024\n"
+ + "\020CONTRACT_TO_HIRE\020\004\022\r\n\tTEMPORARY\020\005\022\n\n\006IN"
+ + "TERN\020\006\022\r\n\tVOLUNTEER\020\007\022\014\n\010PER_DIEM\020\010\022\022\n\016F"
+ + "LY_IN_FLY_OUT\020\t\022\031\n\025OTHER_EMPLOYMENT_TYPE"
+ + "\020\n*q\n\010JobLevel\022\031\n\025JOB_LEVEL_UNSPECIFIED\020"
+ + "\000\022\017\n\013ENTRY_LEVEL\020\001\022\017\n\013EXPERIENCED\020\002\022\013\n\007M"
+ + "ANAGER\020\003\022\014\n\010DIRECTOR\020\004\022\r\n\tEXECUTIVE\020\005*\272\006"
+ + "\n\013JobCategory\022\034\n\030JOB_CATEGORY_UNSPECIFIE"
+ + "D\020\000\022\032\n\026ACCOUNTING_AND_FINANCE\020\001\022\035\n\031ADMIN"
+ + "ISTRATIVE_AND_OFFICE\020\002\022\035\n\031ADVERTISING_AN"
+ + "D_MARKETING\020\003\022\017\n\013ANIMAL_CARE\020\004\022\032\n\026ART_FA"
+ + "SHION_AND_DESIGN\020\005\022\027\n\023BUSINESS_OPERATION"
+ + "S\020\006\022\033\n\027CLEANING_AND_FACILITIES\020\007\022\023\n\017COMP"
+ + "UTER_AND_IT\020\010\022\020\n\014CONSTRUCTION\020\t\022\024\n\020CUSTO"
+ + "MER_SERVICE\020\n\022\r\n\tEDUCATION\020\013\022\034\n\030ENTERTAI"
+ + "NMENT_AND_TRAVEL\020\014\022\030\n\024FARMING_AND_OUTDOO"
+ + "RS\020\r\022\016\n\nHEALTHCARE\020\016\022\023\n\017HUMAN_RESOURCES\020"
+ + "\017\022\'\n#INSTALLATION_MAINTENANCE_AND_REPAIR"
+ + "\020\020\022\t\n\005LEGAL\020\021\022\016\n\nMANAGEMENT\020\022\022\037\n\033MANUFAC"
+ + "TURING_AND_WAREHOUSE\020\023\022$\n MEDIA_COMMUNIC"
+ + "ATIONS_AND_WRITING\020\024\022\026\n\022OIL_GAS_AND_MINI"
+ + "NG\020\025\022\036\n\032PERSONAL_CARE_AND_SERVICES\020\026\022\027\n\023"
+ + "PROTECTIVE_SERVICES\020\027\022\017\n\013REAL_ESTATE\020\030\022\036"
+ + "\n\032RESTAURANT_AND_HOSPITALITY\020\031\022\024\n\020SALES_"
+ + "AND_RETAIL\020\032\022\033\n\027SCIENCE_AND_ENGINEERING\020"
+ + "\033\022\"\n\036SOCIAL_SERVICES_AND_NON_PROFIT\020\034\022!\n"
+ + "\035SPORTS_FITNESS_AND_RECREATION\020\035\022 \n\034TRAN"
+ + "SPORTATION_AND_LOGISTICS\020\036*e\n\rPostingReg"
+ + "ion\022\036\n\032POSTING_REGION_UNSPECIFIED\020\000\022\027\n\023A"
+ + "DMINISTRATIVE_AREA\020\001\022\n\n\006NATION\020\002\022\017\n\013TELE"
+ + "COMMUTE\020\003*j\n\nVisibility\022\032\n\026VISIBILITY_UN"
+ + "SPECIFIED\020\000\022\020\n\014ACCOUNT_ONLY\020\001\022\026\n\022SHARED_"
+ + "WITH_GOOGLE\020\002\022\026\n\022SHARED_WITH_PUBLIC\020\003*Z\n"
+ + "\020ContactInfoUsage\022\"\n\036CONTACT_INFO_USAGE_"
+ + "UNSPECIFIED\020\000\022\014\n\010PERSONAL\020\001\022\010\n\004WORK\020\002\022\n\n"
+ + "\006SCHOOL\020\003*q\n\020HtmlSanitization\022!\n\035HTML_SA"
+ + "NITIZATION_UNSPECIFIED\020\000\022\036\n\032HTML_SANITIZ"
+ + "ATION_DISABLED\020\001\022\032\n\026SIMPLE_FORMATTING_ON"
+ + "LY\020\002*c\n\rCommuteMethod\022\036\n\032COMMUTE_METHOD_"
+ + "UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n\007TRANSIT\020\002\022"
+ + "\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004*\223\001\n\025SkillProfi"
+ + "ciencyLevel\022\'\n#SKILL_PROFICIENCY_LEVEL_U"
+ + "NSPECIFIED\020\000\022\031\n\025FUNDAMENTAL_AWARENESS\020\001\022"
+ + "\n\n\006NOVICE\020\002\022\020\n\014INTERMEDIATE\020\003\022\014\n\010ADVANCE"
+ + "D\020\004\022\n\n\006EXPERT\020\005*f\n\007Outcome\022\027\n\023OUTCOME_UN"
+ + "SPECIFIED\020\000\022\014\n\010POSITIVE\020\001\022\013\n\007NEUTRAL\020\002\022\014"
+ + "\n\010NEGATIVE\020\003\022\031\n\025OUTCOME_NOT_AVAILABLE\020\004B"
+ + "y\n\037com.google.cloud.talent.v4beta1B\013Comm"
+ + "onProtoP\001ZAgoogle.golang.org/genproto/go"
+ + "ogleapis/cloud/talent/v4beta1;talent\242\002\003C"
+ + "TSb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -202,9 +240,12 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.api.AnnotationsProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.protobuf.WrappersProto.getDescriptor(),
+ com.google.type.DateProto.getDescriptor(),
+ com.google.type.DayOfWeekProto.getDescriptor(),
com.google.type.LatLngProto.getDescriptor(),
com.google.type.MoneyProto.getDescriptor(),
com.google.type.PostalAddressProto.getDescriptor(),
+ com.google.type.TimeOfDayProto.getDescriptor(),
},
assigner);
internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor =
@@ -297,12 +338,47 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new java.lang.String[] {
"MaxCompensation", "MinCompensation",
});
+ internal_static_google_cloud_talent_v4beta1_Certification_descriptor =
+ getDescriptor().getMessageTypes().get(8);
+ internal_static_google_cloud_talent_v4beta1_Certification_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_talent_v4beta1_Certification_descriptor,
+ new java.lang.String[] {
+ "DisplayName", "AcquireDate", "ExpireDate", "Authority", "Description",
+ });
+ internal_static_google_cloud_talent_v4beta1_Skill_descriptor =
+ getDescriptor().getMessageTypes().get(9);
+ internal_static_google_cloud_talent_v4beta1_Skill_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_talent_v4beta1_Skill_descriptor,
+ new java.lang.String[] {
+ "DisplayName", "LastUsedDate", "Level", "Context", "SkillNameSnippet",
+ });
+ internal_static_google_cloud_talent_v4beta1_Interview_descriptor =
+ getDescriptor().getMessageTypes().get(10);
+ internal_static_google_cloud_talent_v4beta1_Interview_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_talent_v4beta1_Interview_descriptor,
+ new java.lang.String[] {
+ "Rating", "Outcome",
+ });
+ internal_static_google_cloud_talent_v4beta1_Rating_descriptor =
+ getDescriptor().getMessageTypes().get(11);
+ internal_static_google_cloud_talent_v4beta1_Rating_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_talent_v4beta1_Rating_descriptor,
+ new java.lang.String[] {
+ "Overall", "Min", "Max", "Interval",
+ });
com.google.api.AnnotationsProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.protobuf.WrappersProto.getDescriptor();
+ com.google.type.DateProto.getDescriptor();
+ com.google.type.DayOfWeekProto.getDescriptor();
com.google.type.LatLngProto.getDescriptor();
com.google.type.MoneyProto.getDescriptor();
com.google.type.PostalAddressProto.getDescriptor();
+ com.google.type.TimeOfDayProto.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/CommuteMethod.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
index aab05ed814a5..243b6c642662 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
@@ -64,17 +64,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
* CYCLING = 4;
*/
CYCLING(4),
- /**
- *
- *
- * - * Commute time is calculated based on public transit that is wheelchair - * accessible. - *- * - *
TRANSIT_ACCESSIBLE = 5;
- */
- TRANSIT_ACCESSIBLE(5),
UNRECOGNIZED(-1),
;
@@ -129,17 +118,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
* CYCLING = 4;
*/
public static final int CYCLING_VALUE = 4;
- /**
- *
- *
- * - * Commute time is calculated based on public transit that is wheelchair - * accessible. - *- * - *
TRANSIT_ACCESSIBLE = 5;
- */
- public static final int TRANSIT_ACCESSIBLE_VALUE = 5;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -167,8 +145,6 @@ public static CommuteMethod forNumber(int value) {
return WALKING;
case 4:
return CYCLING;
- case 5:
- return TRANSIT_ACCESSIBLE;
default:
return null;
}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java
index c9bf56fcb850..c67390d3a1ae 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java
@@ -970,8 +970,11 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInstanceFor
* Required during company update.
* The resource name for a company. This is generated by the service when a
* company is created.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
*
*
* string name = 1;
@@ -994,8 +997,11 @@ public java.lang.String getName() {
* Required during company update.
* The resource name for a company. This is generated by the service when a
* company is created.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
*
*
* string name = 1;
@@ -1410,11 +1416,11 @@ public com.google.protobuf.ByteString getImageUriBytes() {
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -1429,11 +1435,11 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttri
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -1448,11 +1454,11 @@ public int getKeywordSearchableJobCustomAttributesCount() {
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -1467,11 +1473,11 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -2092,8 +2098,11 @@ public Builder mergeFrom(
* Required during company update.
* The resource name for a company. This is generated by the service when a
* company is created.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
*
*
* string name = 1;
@@ -2116,8 +2125,11 @@ public java.lang.String getName() {
* Required during company update.
* The resource name for a company. This is generated by the service when a
* company is created.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
*
*
* string name = 1;
@@ -2140,8 +2152,11 @@ public com.google.protobuf.ByteString getNameBytes() {
* Required during company update.
* The resource name for a company. This is generated by the service when a
* company is created.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
*
*
* string name = 1;
@@ -2162,8 +2177,11 @@ public Builder setName(java.lang.String value) {
* Required during company update.
* The resource name for a company. This is generated by the service when a
* company is created.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
*
*
* string name = 1;
@@ -2181,8 +2199,11 @@ public Builder clearName() {
* Required during company update.
* The resource name for a company. This is generated by the service when a
* company is created.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
*
*
* string name = 1;
@@ -3102,11 +3123,11 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -3121,11 +3142,11 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttri
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -3140,11 +3161,11 @@ public int getKeywordSearchableJobCustomAttributesCount() {
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -3159,11 +3180,11 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -3178,11 +3199,11 @@ public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesByt
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -3203,11 +3224,11 @@ public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.Stri
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -3228,11 +3249,11 @@ public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) {
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -3252,11 +3273,11 @@ public Builder addAllKeywordSearchableJobCustomAttributes(
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -3274,11 +3295,11 @@ public Builder clearKeywordSearchableJobCustomAttributes() {
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java
index 68ca5feb6ef0..83b3fe3f5dd2 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java
@@ -14,167 +14,10 @@
package com.google.cloud.talent.v4beta1;
-import com.google.api.pathtemplate.PathTemplate;
import com.google.api.resourcenames.ResourceName;
-import com.google.common.base.Preconditions;
-import com.google.common.collect.ImmutableMap;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
// AUTO-GENERATED DOCUMENTATION AND CLASS
@javax.annotation.Generated("by GAPIC protoc plugin")
-public class CompanyName implements ResourceName {
-
- private static final PathTemplate PATH_TEMPLATE =
- PathTemplate.createWithoutUrlEncoding("projects/{project}/companies/{company}");
-
- private volatile Mapstring name = 1;
@@ -29,8 +32,11 @@ public interface CompanyOrBuilder
* Required during company update.
* The resource name for a company. This is generated by the service when a
* company is created.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
*
*
* string name = 1;
@@ -266,11 +272,11 @@ public interface CompanyOrBuilder
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -283,11 +289,11 @@ public interface CompanyOrBuilder
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -300,11 +306,11 @@ public interface CompanyOrBuilder
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
@@ -317,11 +323,11 @@ public interface CompanyOrBuilder
* Optional.
* A list of keys of filterable
* [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes],
- * whose corresponding `string_values` are used in keyword search. Jobs with
+ * whose corresponding `string_values` are used in keyword searches. Jobs with
* `string_values` under these specified field keys are returned if any
- * of the values matches the search keyword. Custom field values with
- * parenthesis, brackets and special symbols won't be properly searchable,
- * and those keyword queries need to be surrounded by quotes.
+ * of the values match the search keyword. Custom field values with
+ * parenthesis, brackets and special symbols are not searchable as-is,
+ * and those keyword queries must be surrounded by quotes.
*
*
* repeated string keyword_searchable_job_custom_attributes = 11;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java
index 4b042810a7d3..6ff174bf7509 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java
@@ -65,31 +65,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "sponse\0227\n\tcompanies\030\001 \003(\0132$.google.cloud"
+ ".talent.v4beta1.Company\022\027\n\017next_page_tok"
+ "en\030\002 \001(\t\022?\n\010metadata\030\003 \001(\0132-.google.clou"
- + "d.talent.v4beta1.ResponseMetadata2\237\006\n\016Co"
- + "mpanyService\022\233\001\n\rCreateCompany\0221.google."
+ + "d.talent.v4beta1.ResponseMetadata2\261\010\n\016Co"
+ + "mpanyService\022\322\001\n\rCreateCompany\0221.google."
+ "cloud.talent.v4beta1.CreateCompanyReques"
+ "t\032$.google.cloud.talent.v4beta1.Company\""
- + "1\202\323\344\223\002+\"&/v4beta1/{parent=projects/*}/co"
- + "mpanies:\001*\022\222\001\n\nGetCompany\022..google.cloud"
- + ".talent.v4beta1.GetCompanyRequest\032$.goog"
- + "le.cloud.talent.v4beta1.Company\".\202\323\344\223\002(\022"
- + "&/v4beta1/{name=projects/*/companies/*}\022"
- + "\243\001\n\rUpdateCompany\0221.google.cloud.talent."
- + "v4beta1.UpdateCompanyRequest\032$.google.cl"
- + "oud.talent.v4beta1.Company\"9\202\323\344\223\00232./v4b"
- + "eta1/{company.name=projects/*/companies/"
- + "*}:\001*\022\212\001\n\rDeleteCompany\0221.google.cloud.t"
- + "alent.v4beta1.DeleteCompanyRequest\032\026.goo"
- + "gle.protobuf.Empty\".\202\323\344\223\002(*&/v4beta1/{na"
- + "me=projects/*/companies/*}\022\246\001\n\rListCompa"
- + "nies\0221.google.cloud.talent.v4beta1.ListC"
- + "ompaniesRequest\0322.google.cloud.talent.v4"
- + "beta1.ListCompaniesResponse\".\202\323\344\223\002(\022&/v4"
- + "beta1/{parent=projects/*}/companiesB\201\001\n\037"
- + "com.google.cloud.talent.v4beta1B\023Company"
- + "ServiceProtoP\001ZAgoogle.golang.org/genpro"
- + "to/googleapis/cloud/talent/v4beta1;talen"
- + "t\242\002\003CTSb\006proto3"
+ + "h\202\323\344\223\002b\"0/v4beta1/{parent=projects/*/ten"
+ + "ants/*}/companies:\001*Z+\"&/v4beta1/{parent"
+ + "=projects/*}/companies:\001*\022\306\001\n\nGetCompany"
+ + "\022..google.cloud.talent.v4beta1.GetCompan"
+ + "yRequest\032$.google.cloud.talent.v4beta1.C"
+ + "ompany\"b\202\323\344\223\002\\\0220/v4beta1/{name=projects/"
+ + "*/tenants/*/companies/*}Z(\022&/v4beta1/{na"
+ + "me=projects/*/companies/*}\022\342\001\n\rUpdateCom"
+ + "pany\0221.google.cloud.talent.v4beta1.Updat"
+ + "eCompanyRequest\032$.google.cloud.talent.v4"
+ + "beta1.Company\"x\202\323\344\223\002r28/v4beta1/{company"
+ + ".name=projects/*/tenants/*/companies/*}:"
+ + "\001*Z32./v4beta1/{company.name=projects/*/"
+ + "companies/*}:\001*\022\276\001\n\rDeleteCompany\0221.goog"
+ + "le.cloud.talent.v4beta1.DeleteCompanyReq"
+ + "uest\032\026.google.protobuf.Empty\"b\202\323\344\223\002\\*0/v"
+ + "4beta1/{name=projects/*/tenants/*/compan"
+ + "ies/*}Z(*&/v4beta1/{name=projects/*/comp"
+ + "anies/*}\022\332\001\n\rListCompanies\0221.google.clou"
+ + "d.talent.v4beta1.ListCompaniesRequest\0322."
+ + "google.cloud.talent.v4beta1.ListCompanie"
+ + "sResponse\"b\202\323\344\223\002\\\0220/v4beta1/{parent=proj"
+ + "ects/*/tenants/*}/companiesZ(\022&/v4beta1/"
+ + "{parent=projects/*}/companiesB\201\001\n\037com.go"
+ + "ogle.cloud.talent.v4beta1B\023CompanyServic"
+ + "eProtoP\001ZAgoogle.golang.org/genproto/goo"
+ + "gleapis/cloud/talent/v4beta1;talent\242\002\003CT"
+ + "Sb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java
index f363034e4261..1fccc1643e87 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java
@@ -24,11 +24,11 @@ private CompleteQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder> b
}
private CompleteQueryRequest() {
- name_ = "";
+ parent_ = "";
query_ = "";
languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
pageSize_ = 0;
- companyName_ = "";
+ company_ = "";
scope_ = 0;
type_ = 0;
}
@@ -61,7 +61,7 @@ private CompleteQueryRequest(
{
java.lang.String s = input.readStringRequireUtf8();
- name_ = s;
+ parent_ = s;
break;
}
case 18:
@@ -90,7 +90,7 @@ private CompleteQueryRequest(
{
java.lang.String s = input.readStringRequireUtf8();
- companyName_ = s;
+ company_ = s;
break;
}
case 48:
@@ -465,28 +465,30 @@ private CompletionType(int value) {
}
private int bitField0_;
- public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+ public static final int PARENT_FIELD_NUMBER = 1;
+ private volatile java.lang.Object parent_;
/**
*
*
* * Required. - * Resource name of project the completion is performed within. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of tenant the completion is performed within. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** - *
string name = 1;
+ * string parent = 1;
*/
- public java.lang.String getName() {
- java.lang.Object ref = name_;
+ 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();
- name_ = s;
+ parent_ = s;
return s;
}
}
@@ -495,19 +497,21 @@ public java.lang.String getName() {
*
* * Required. - * Resource name of project the completion is performed within. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of tenant the completion is performed within. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** - *
string name = 1;
+ * string parent = 1;
*/
- public com.google.protobuf.ByteString getNameBytes() {
- java.lang.Object ref = name_;
+ 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);
- name_ = b;
+ parent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -717,28 +721,31 @@ public int getPageSize() {
return pageSize_;
}
- public static final int COMPANY_NAME_FIELD_NUMBER = 5;
- private volatile java.lang.Object companyName_;
+ public static final int COMPANY_FIELD_NUMBER = 5;
+ private volatile java.lang.Object company_;
/**
*
*
* * Optional. * If provided, restricts completion to specified company. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 5;
+ * string company = 5;
*/
- public java.lang.String getCompanyName() {
- java.lang.Object ref = companyName_;
+ public java.lang.String getCompany() {
+ java.lang.Object ref = company_;
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();
- companyName_ = s;
+ company_ = s;
return s;
}
}
@@ -748,18 +755,21 @@ public java.lang.String getCompanyName() {
* * Optional. * If provided, restricts completion to specified company. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 5;
+ * string company = 5;
*/
- public com.google.protobuf.ByteString getCompanyNameBytes() {
- java.lang.Object ref = companyName_;
+ public com.google.protobuf.ByteString getCompanyBytes() {
+ java.lang.Object ref = company_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- companyName_ = b;
+ company_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -852,8 +862,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ if (!getParentBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (!getQueryBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, query_);
@@ -864,8 +874,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (pageSize_ != 0) {
output.writeInt32(4, pageSize_);
}
- if (!getCompanyNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 5, companyName_);
+ if (!getCompanyBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, company_);
}
if (scope_
!= com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope
@@ -888,8 +898,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ if (!getParentBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (!getQueryBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, query_);
@@ -905,8 +915,8 @@ public int getSerializedSize() {
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_);
}
- if (!getCompanyNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, companyName_);
+ if (!getCompanyBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, company_);
}
if (scope_
!= com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope
@@ -937,11 +947,11 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloud.talent.v4beta1.CompleteQueryRequest) obj;
boolean result = true;
- result = result && getName().equals(other.getName());
+ result = result && getParent().equals(other.getParent());
result = result && getQuery().equals(other.getQuery());
result = result && getLanguageCodesList().equals(other.getLanguageCodesList());
result = result && (getPageSize() == other.getPageSize());
- result = result && getCompanyName().equals(other.getCompanyName());
+ result = result && getCompany().equals(other.getCompany());
result = result && scope_ == other.scope_;
result = result && type_ == other.type_;
result = result && unknownFields.equals(other.unknownFields);
@@ -955,8 +965,8 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + NAME_FIELD_NUMBER;
- hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
hash = (37 * hash) + QUERY_FIELD_NUMBER;
hash = (53 * hash) + getQuery().hashCode();
if (getLanguageCodesCount() > 0) {
@@ -965,8 +975,8 @@ public int hashCode() {
}
hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
hash = (53 * hash) + getPageSize();
- hash = (37 * hash) + COMPANY_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getCompanyName().hashCode();
+ hash = (37 * hash) + COMPANY_FIELD_NUMBER;
+ hash = (53 * hash) + getCompany().hashCode();
hash = (37 * hash) + SCOPE_FIELD_NUMBER;
hash = (53 * hash) + scope_;
hash = (37 * hash) + TYPE_FIELD_NUMBER;
@@ -1117,7 +1127,7 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
- name_ = "";
+ parent_ = "";
query_ = "";
@@ -1125,7 +1135,7 @@ public Builder clear() {
bitField0_ = (bitField0_ & ~0x00000004);
pageSize_ = 0;
- companyName_ = "";
+ company_ = "";
scope_ = 0;
@@ -1160,7 +1170,7 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() {
new com.google.cloud.talent.v4beta1.CompleteQueryRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
- result.name_ = name_;
+ result.parent_ = parent_;
result.query_ = query_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
languageCodes_ = languageCodes_.getUnmodifiableView();
@@ -1168,7 +1178,7 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() {
}
result.languageCodes_ = languageCodes_;
result.pageSize_ = pageSize_;
- result.companyName_ = companyName_;
+ result.company_ = company_;
result.scope_ = scope_;
result.type_ = type_;
result.bitField0_ = to_bitField0_;
@@ -1222,8 +1232,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryRequest other) {
if (other == com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance())
return this;
- if (!other.getName().isEmpty()) {
- name_ = other.name_;
+ if (!other.getParent().isEmpty()) {
+ parent_ = other.parent_;
onChanged();
}
if (!other.getQuery().isEmpty()) {
@@ -1243,8 +1253,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryRequest ot
if (other.getPageSize() != 0) {
setPageSize(other.getPageSize());
}
- if (!other.getCompanyName().isEmpty()) {
- companyName_ = other.companyName_;
+ if (!other.getCompany().isEmpty()) {
+ company_ = other.company_;
onChanged();
}
if (other.scope_ != 0) {
@@ -1285,25 +1295,27 @@ public Builder mergeFrom(
private int bitField0_;
- private java.lang.Object name_ = "";
+ private java.lang.Object parent_ = "";
/**
*
*
* * Required. - * Resource name of project the completion is performed within. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of tenant the completion is performed within. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** - *
string name = 1;
+ * string parent = 1;
*/
- public java.lang.String getName() {
- java.lang.Object ref = name_;
+ 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();
- name_ = s;
+ parent_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -1314,19 +1326,21 @@ public java.lang.String getName() {
*
* * Required. - * Resource name of project the completion is performed within. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of tenant the completion is performed within. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** - *
string name = 1;
+ * string parent = 1;
*/
- public com.google.protobuf.ByteString getNameBytes() {
- java.lang.Object ref = name_;
+ 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);
- name_ = b;
+ parent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -1337,19 +1351,21 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* * Required. - * Resource name of project the completion is performed within. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of tenant the completion is performed within. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** - *
string name = 1;
+ * string parent = 1;
*/
- public Builder setName(java.lang.String value) {
+ public Builder setParent(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- name_ = value;
+ parent_ = value;
onChanged();
return this;
}
@@ -1358,16 +1374,18 @@ public Builder setName(java.lang.String value) {
*
* * Required. - * Resource name of project the completion is performed within. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of tenant the completion is performed within. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** - *
string name = 1;
+ * string parent = 1;
*/
- public Builder clearName() {
+ public Builder clearParent() {
- name_ = getDefaultInstance().getName();
+ parent_ = getDefaultInstance().getParent();
onChanged();
return this;
}
@@ -1376,20 +1394,22 @@ public Builder clearName() {
*
* * Required. - * Resource name of project the completion is performed within. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of tenant the completion is performed within. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** - *
string name = 1;
+ * string parent = 1;
*/
- public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- name_ = value;
+ parent_ = value;
onChanged();
return this;
}
@@ -1889,25 +1909,28 @@ public Builder clearPageSize() {
return this;
}
- private java.lang.Object companyName_ = "";
+ private java.lang.Object company_ = "";
/**
*
*
* * Optional. * If provided, restricts completion to specified company. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 5;
+ * string company = 5;
*/
- public java.lang.String getCompanyName() {
- java.lang.Object ref = companyName_;
+ public java.lang.String getCompany() {
+ java.lang.Object ref = company_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- companyName_ = s;
+ company_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -1919,18 +1942,21 @@ public java.lang.String getCompanyName() {
* * Optional. * If provided, restricts completion to specified company. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 5;
+ * string company = 5;
*/
- public com.google.protobuf.ByteString getCompanyNameBytes() {
- java.lang.Object ref = companyName_;
+ public com.google.protobuf.ByteString getCompanyBytes() {
+ java.lang.Object ref = company_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- companyName_ = b;
+ company_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -1942,18 +1968,21 @@ public com.google.protobuf.ByteString getCompanyNameBytes() {
* * Optional. * If provided, restricts completion to specified company. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 5;
+ * string company = 5;
*/
- public Builder setCompanyName(java.lang.String value) {
+ public Builder setCompany(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- companyName_ = value;
+ company_ = value;
onChanged();
return this;
}
@@ -1963,15 +1992,18 @@ public Builder setCompanyName(java.lang.String value) {
* * Optional. * If provided, restricts completion to specified company. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 5;
+ * string company = 5;
*/
- public Builder clearCompanyName() {
+ public Builder clearCompany() {
- companyName_ = getDefaultInstance().getCompanyName();
+ company_ = getDefaultInstance().getCompany();
onChanged();
return this;
}
@@ -1981,19 +2013,22 @@ public Builder clearCompanyName() {
* * Optional. * If provided, restricts completion to specified company. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 5;
+ * string company = 5;
*/
- public Builder setCompanyNameBytes(com.google.protobuf.ByteString value) {
+ public Builder setCompanyBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- companyName_ = value;
+ company_ = value;
onChanged();
return this;
}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java
index 982aa5ea5358..bd0fed0ec143 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java
@@ -13,27 +13,31 @@ public interface CompleteQueryRequestOrBuilder
*
* * Required. - * Resource name of project the completion is performed within. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of tenant the completion is performed within. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** - *
string name = 1;
+ * string parent = 1;
*/
- java.lang.String getName();
+ java.lang.String getParent();
/**
*
*
* * Required. - * Resource name of project the completion is performed within. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of tenant the completion is performed within. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** - *
string name = 1;
+ * string parent = 1;
*/
- com.google.protobuf.ByteString getNameBytes();
+ com.google.protobuf.ByteString getParentBytes();
/**
*
@@ -208,26 +212,32 @@ public interface CompleteQueryRequestOrBuilder
* * Optional. * If provided, restricts completion to specified company. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 5;
+ * string company = 5;
*/
- java.lang.String getCompanyName();
+ java.lang.String getCompany();
/**
*
*
* * Optional. * If provided, restricts completion to specified company. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 5;
+ * string company = 5;
*/
- com.google.protobuf.ByteString getCompanyNameBytes();
+ com.google.protobuf.ByteString getCompanyBytes();
/**
*
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
index 71b87989a667..9e26e58cfaa8 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
@@ -36,35 +36,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n4google/cloud/talent/v4beta1/completion"
+ "_service.proto\022\033google.cloud.talent.v4be"
+ "ta1\032\034google/api/annotations.proto\032(googl"
- + "e/cloud/talent/v4beta1/common.proto\"\305\003\n\024"
- + "CompleteQueryRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005qu"
- + "ery\030\002 \001(\t\022\026\n\016language_codes\030\003 \003(\t\022\021\n\tpag"
- + "e_size\030\004 \001(\005\022\024\n\014company_name\030\005 \001(\t\022P\n\005sc"
- + "ope\030\006 \001(\0162A.google.cloud.talent.v4beta1."
- + "CompleteQueryRequest.CompletionScope\022N\n\004"
- + "type\030\007 \001(\0162@.google.cloud.talent.v4beta1"
- + ".CompleteQueryRequest.CompletionType\"K\n\017"
- + "CompletionScope\022 \n\034COMPLETION_SCOPE_UNSP"
- + "ECIFIED\020\000\022\n\n\006TENANT\020\001\022\n\n\006PUBLIC\020\002\"`\n\016Com"
- + "pletionType\022\037\n\033COMPLETION_TYPE_UNSPECIFI"
- + "ED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014COMPANY_NAME\020\002\022\014\n"
- + "\010COMBINED\020\003\"\305\002\n\025CompleteQueryResponse\022_\n"
- + "\022completion_results\030\001 \003(\0132C.google.cloud"
- + ".talent.v4beta1.CompleteQueryResponse.Co"
- + "mpletionResult\022?\n\010metadata\030\002 \001(\0132-.googl"
- + "e.cloud.talent.v4beta1.ResponseMetadata\032"
- + "\211\001\n\020CompletionResult\022\022\n\nsuggestion\030\001 \001(\t"
- + "\022N\n\004type\030\002 \001(\0162@.google.cloud.talent.v4b"
- + "eta1.CompleteQueryRequest.CompletionType"
- + "\022\021\n\timage_uri\030\003 \001(\t2\262\001\n\nCompletion\022\243\001\n\rC"
- + "ompleteQuery\0221.google.cloud.talent.v4bet"
- + "a1.CompleteQueryRequest\0322.google.cloud.t"
- + "alent.v4beta1.CompleteQueryResponse\"+\202\323\344"
- + "\223\002%\022#/v4beta1/{name=projects/*}:complete"
- + "B\204\001\n\037com.google.cloud.talent.v4beta1B\026Co"
- + "mpletionServiceProtoP\001ZAgoogle.golang.or"
- + "g/genproto/googleapis/cloud/talent/v4bet"
- + "a1;talent\242\002\003CTSb\006proto3"
+ + "e/cloud/talent/v4beta1/common.proto\"\302\003\n\024"
+ + "CompleteQueryRequest\022\016\n\006parent\030\001 \001(\t\022\r\n\005"
+ + "query\030\002 \001(\t\022\026\n\016language_codes\030\003 \003(\t\022\021\n\tp"
+ + "age_size\030\004 \001(\005\022\017\n\007company\030\005 \001(\t\022P\n\005scope"
+ + "\030\006 \001(\0162A.google.cloud.talent.v4beta1.Com"
+ + "pleteQueryRequest.CompletionScope\022N\n\004typ"
+ + "e\030\007 \001(\0162@.google.cloud.talent.v4beta1.Co"
+ + "mpleteQueryRequest.CompletionType\"K\n\017Com"
+ + "pletionScope\022 \n\034COMPLETION_SCOPE_UNSPECI"
+ + "FIED\020\000\022\n\n\006TENANT\020\001\022\n\n\006PUBLIC\020\002\"`\n\016Comple"
+ + "tionType\022\037\n\033COMPLETION_TYPE_UNSPECIFIED\020"
+ + "\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014COMPANY_NAME\020\002\022\014\n\010CO"
+ + "MBINED\020\003\"\305\002\n\025CompleteQueryResponse\022_\n\022co"
+ + "mpletion_results\030\001 \003(\0132C.google.cloud.ta"
+ + "lent.v4beta1.CompleteQueryResponse.Compl"
+ + "etionResult\022?\n\010metadata\030\002 \001(\0132-.google.c"
+ + "loud.talent.v4beta1.ResponseMetadata\032\211\001\n"
+ + "\020CompletionResult\022\022\n\nsuggestion\030\001 \001(\t\022N\n"
+ + "\004type\030\002 \001(\0162@.google.cloud.talent.v4beta"
+ + "1.CompleteQueryRequest.CompletionType\022\021\n"
+ + "\timage_uri\030\003 \001(\t2\347\001\n\nCompletion\022\330\001\n\rComp"
+ + "leteQuery\0221.google.cloud.talent.v4beta1."
+ + "CompleteQueryRequest\0322.google.cloud.tale"
+ + "nt.v4beta1.CompleteQueryResponse\"`\202\323\344\223\002Z"
+ + "\022//v4beta1/{parent=projects/*/tenants/*}"
+ + ":completeZ\'\022%/v4beta1/{parent=projects/*"
+ + "}:completeB\204\001\n\037com.google.cloud.talent.v"
+ + "4beta1B\026CompletionServiceProtoP\001ZAgoogle"
+ + ".golang.org/genproto/googleapis/cloud/ta"
+ + "lent/v4beta1;talent\242\002\003CTSb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -87,7 +88,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor,
new java.lang.String[] {
- "Name", "Query", "LanguageCodes", "PageSize", "CompanyName", "Scope", "Type",
+ "Parent", "Query", "LanguageCodes", "PageSize", "Company", "Scope", "Type",
});
internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateApplicationRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateApplicationRequest.java
new file mode 100644
index 000000000000..e64de487246b
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateApplicationRequest.java
@@ -0,0 +1,907 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/application_service.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * The Request of the CreateApplication method. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.CreateApplicationRequest} + */ +public final class CreateApplicationRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateApplicationRequest) + CreateApplicationRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateApplicationRequest.newBuilder() to construct. + private CreateApplicationRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private CreateApplicationRequest() { + parent_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CreateApplicationRequest( + 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: + { + com.google.cloud.talent.v4beta1.Application.Builder subBuilder = null; + if (application_ != null) { + subBuilder = application_.toBuilder(); + } + application_ = + input.readMessage( + com.google.cloud.talent.v4beta1.Application.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(application_); + application_ = 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.ApplicationServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateApplicationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.ApplicationServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateApplicationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.CreateApplicationRequest.class, + com.google.cloud.talent.v4beta1.CreateApplicationRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+ * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
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. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
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 APPLICATION_FIELD_NUMBER = 2;
+ private com.google.cloud.talent.v4beta1.Application application_;
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ public boolean hasApplication() {
+ return application_ != null;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ public com.google.cloud.talent.v4beta1.Application getApplication() {
+ return application_ == null
+ ? com.google.cloud.talent.v4beta1.Application.getDefaultInstance()
+ : application_;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ public com.google.cloud.talent.v4beta1.ApplicationOrBuilder getApplicationOrBuilder() {
+ return getApplication();
+ }
+
+ 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 (application_ != null) {
+ output.writeMessage(2, getApplication());
+ }
+ 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 (application_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getApplication());
+ }
+ 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.CreateApplicationRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.CreateApplicationRequest other =
+ (com.google.cloud.talent.v4beta1.CreateApplicationRequest) obj;
+
+ boolean result = true;
+ result = result && getParent().equals(other.getParent());
+ result = result && (hasApplication() == other.hasApplication());
+ if (hasApplication()) {
+ result = result && getApplication().equals(other.getApplication());
+ }
+ 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();
+ if (hasApplication()) {
+ hash = (37 * hash) + APPLICATION_FIELD_NUMBER;
+ hash = (53 * hash) + getApplication().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.CreateApplicationRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.CreateApplicationRequest 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.CreateApplicationRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.CreateApplicationRequest parseFrom(
+ com.google.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.CreateApplicationRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.CreateApplicationRequest 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.CreateApplicationRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.CreateApplicationRequest 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.CreateApplicationRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.CreateApplicationRequest 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.CreateApplicationRequest 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.CreateApplicationRequest 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.CreateApplicationRequest 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;
+ }
+ /**
+ *
+ *
+ * + * The Request of the CreateApplication method. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.CreateApplicationRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
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. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
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. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
string parent = 1;
+ */
+ public Builder setParent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
string parent = 1;
+ */
+ public Builder clearParent() {
+
+ parent_ = getDefaultInstance().getParent();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
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 com.google.cloud.talent.v4beta1.Application application_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.talent.v4beta1.Application,
+ com.google.cloud.talent.v4beta1.Application.Builder,
+ com.google.cloud.talent.v4beta1.ApplicationOrBuilder>
+ applicationBuilder_;
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ public boolean hasApplication() {
+ return applicationBuilder_ != null || application_ != null;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ public com.google.cloud.talent.v4beta1.Application getApplication() {
+ if (applicationBuilder_ == null) {
+ return application_ == null
+ ? com.google.cloud.talent.v4beta1.Application.getDefaultInstance()
+ : application_;
+ } else {
+ return applicationBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ public Builder setApplication(com.google.cloud.talent.v4beta1.Application value) {
+ if (applicationBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ application_ = value;
+ onChanged();
+ } else {
+ applicationBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ public Builder setApplication(
+ com.google.cloud.talent.v4beta1.Application.Builder builderForValue) {
+ if (applicationBuilder_ == null) {
+ application_ = builderForValue.build();
+ onChanged();
+ } else {
+ applicationBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ public Builder mergeApplication(com.google.cloud.talent.v4beta1.Application value) {
+ if (applicationBuilder_ == null) {
+ if (application_ != null) {
+ application_ =
+ com.google.cloud.talent.v4beta1.Application.newBuilder(application_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ application_ = value;
+ }
+ onChanged();
+ } else {
+ applicationBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ public Builder clearApplication() {
+ if (applicationBuilder_ == null) {
+ application_ = null;
+ onChanged();
+ } else {
+ application_ = null;
+ applicationBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ public com.google.cloud.talent.v4beta1.Application.Builder getApplicationBuilder() {
+
+ onChanged();
+ return getApplicationFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ public com.google.cloud.talent.v4beta1.ApplicationOrBuilder getApplicationOrBuilder() {
+ if (applicationBuilder_ != null) {
+ return applicationBuilder_.getMessageOrBuilder();
+ } else {
+ return application_ == null
+ ? com.google.cloud.talent.v4beta1.Application.getDefaultInstance()
+ : application_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.talent.v4beta1.Application,
+ com.google.cloud.talent.v4beta1.Application.Builder,
+ com.google.cloud.talent.v4beta1.ApplicationOrBuilder>
+ getApplicationFieldBuilder() {
+ if (applicationBuilder_ == null) {
+ applicationBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.talent.v4beta1.Application,
+ com.google.cloud.talent.v4beta1.Application.Builder,
+ com.google.cloud.talent.v4beta1.ApplicationOrBuilder>(
+ getApplication(), getParentForChildren(), isClean());
+ application_ = null;
+ }
+ return applicationBuilder_;
+ }
+
+ @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.CreateApplicationRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateApplicationRequest)
+ private static final com.google.cloud.talent.v4beta1.CreateApplicationRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateApplicationRequest();
+ }
+
+ public static com.google.cloud.talent.v4beta1.CreateApplicationRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
string parent = 1;
+ */
+ java.lang.String getParent();
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
string parent = 1;
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ boolean hasApplication();
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ com.google.cloud.talent.v4beta1.Application getApplication();
+ /**
+ *
+ *
+ * + * Required. + * The application to be created. + *+ * + *
.google.cloud.talent.v4beta1.Application application = 2;
+ */
+ com.google.cloud.talent.v4beta1.ApplicationOrBuilder getApplicationOrBuilder();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
index fc01eee2b685..205341053fea 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
@@ -113,7 +113,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* - * Parent project name. + * Required. + * Resource name of the tenant under which the event is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -133,7 +138,12 @@ public java.lang.String getParent() {
*
*
* - * Parent project name. + * Required. + * Resource name of the tenant under which the event is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -550,7 +560,12 @@ public Builder mergeFrom(
*
*
* - * Parent project name. + * Required. + * Resource name of the tenant under which the event is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -570,7 +585,12 @@ public java.lang.String getParent() {
*
*
* - * Parent project name. + * Required. + * Resource name of the tenant under which the event is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -590,7 +610,12 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* - * Parent project name. + * Required. + * Resource name of the tenant under which the event is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -608,7 +633,12 @@ public Builder setParent(java.lang.String value) {
*
*
* - * Parent project name. + * Required. + * Resource name of the tenant under which the event is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -623,7 +653,12 @@ public Builder clearParent() {
*
*
* - * Parent project name. + * Required. + * Resource name of the tenant under which the event is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java
index fc28ad9c1563..5a8ec7225fce 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java
@@ -12,7 +12,12 @@ public interface CreateClientEventRequestOrBuilder
*
*
* - * Parent project name. + * Required. + * Resource name of the tenant under which the event is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -22,7 +27,12 @@ public interface CreateClientEventRequestOrBuilder
*
*
* - * Parent project name. + * Required. + * Resource name of the tenant under which the event is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java
index 3d96e5681665..1ffb10476510 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java
@@ -114,9 +114,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -137,9 +139,11 @@ public java.lang.String getParent() {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -553,9 +557,11 @@ public Builder mergeFrom(
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -576,9 +582,11 @@ public java.lang.String getParent() {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -599,9 +607,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -620,9 +630,11 @@ public Builder setParent(java.lang.String value) {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -638,9 +650,11 @@ public Builder clearParent() {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java
index 66c77cc47271..1fc6c76c6daf 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java
@@ -13,9 +13,11 @@ public interface CreateCompanyRequestOrBuilder
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -26,9 +28,11 @@ public interface CreateCompanyRequestOrBuilder
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java
index ef27d7e96821..1b8d0110931a 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java
@@ -115,9 +115,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -138,9 +140,11 @@ public 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -552,9 +556,11 @@ public Builder mergeFrom(
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -575,9 +581,11 @@ public 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -598,9 +606,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -619,9 +629,11 @@ public Builder setParent(java.lang.String value) {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -637,9 +649,11 @@ public Builder clearParent() {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java
index d26387c15ca5..b1d74d059f92 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java
@@ -13,9 +13,11 @@ public interface CreateJobRequestOrBuilder
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -26,9 +28,11 @@ public interface CreateJobRequestOrBuilder
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and a default tenant is created if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteApplicationRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteApplicationRequest.java
new file mode 100644
index 000000000000..e3a5b8bb5098
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteApplicationRequest.java
@@ -0,0 +1,635 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/application_service.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Request to delete a application. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.DeleteApplicationRequest} + */ +public final class DeleteApplicationRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteApplicationRequest) + DeleteApplicationRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteApplicationRequest.newBuilder() to construct. + private DeleteApplicationRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private DeleteApplicationRequest() { + name_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DeleteApplicationRequest( + 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(); + + name_ = 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.ApplicationServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteApplicationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.ApplicationServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteApplicationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.DeleteApplicationRequest.class, + com.google.cloud.talent.v4beta1.DeleteApplicationRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+ * Required. + * The resource name of the application to be deleted. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". + *+ * + *
string name = 1;
+ */
+ 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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the application to be deleted. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". + *+ * + *
string name = 1;
+ */
+ 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;
+ }
+ }
+
+ 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 (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ 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.DeleteApplicationRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.DeleteApplicationRequest other =
+ (com.google.cloud.talent.v4beta1.DeleteApplicationRequest) obj;
+
+ boolean result = true;
+ result = result && getName().equals(other.getName());
+ 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) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.DeleteApplicationRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.DeleteApplicationRequest 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.DeleteApplicationRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.DeleteApplicationRequest parseFrom(
+ com.google.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.DeleteApplicationRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.DeleteApplicationRequest 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.DeleteApplicationRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.DeleteApplicationRequest 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.DeleteApplicationRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.DeleteApplicationRequest 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.DeleteApplicationRequest 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.DeleteApplicationRequest 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.DeleteApplicationRequest 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;
+ }
+ /**
+ *
+ *
+ * + * Request to delete a application. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.DeleteApplicationRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. + * The resource name of the application to be deleted. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". + *+ * + *
string name = 1;
+ */
+ 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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the application to be deleted. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". + *+ * + *
string name = 1;
+ */
+ 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;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the application to be deleted. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". + *+ * + *
string name = 1;
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the application to be deleted. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". + *+ * + *
string name = 1;
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the application to be deleted. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". + *+ * + *
string name = 1;
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = 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.DeleteApplicationRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteApplicationRequest)
+ private static final com.google.cloud.talent.v4beta1.DeleteApplicationRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteApplicationRequest();
+ }
+
+ public static com.google.cloud.talent.v4beta1.DeleteApplicationRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. + * The resource name of the application to be deleted. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". + *+ * + *
string name = 1;
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the application to be deleted. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". + *+ * + *
string name = 1;
+ */
+ com.google.protobuf.ByteString getNameBytes();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
index 7833f2f99391..7c95d4c8b9bd 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
@@ -99,8 +99,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* * Required. * The resource name of the company to be deleted. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -122,8 +125,11 @@ public java.lang.String getName() {
* * Required. * The resource name of the company to be deleted. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -466,8 +472,11 @@ public Builder mergeFrom(
* * Required. * The resource name of the company to be deleted. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -489,8 +498,11 @@ public java.lang.String getName() {
* * Required. * The resource name of the company to be deleted. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -512,8 +524,11 @@ public com.google.protobuf.ByteString getNameBytes() {
* * Required. * The resource name of the company to be deleted. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -533,8 +548,11 @@ public Builder setName(java.lang.String value) {
* * Required. * The resource name of the company to be deleted. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -551,8 +569,11 @@ public Builder clearName() {
* * Required. * The resource name of the company to be deleted. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java
index c58559744c28..f9e2c33538d6 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java
@@ -14,8 +14,11 @@ public interface DeleteCompanyRequestOrBuilder
* * Required. * The resource name of the company to be deleted. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -27,8 +30,11 @@ public interface DeleteCompanyRequestOrBuilder
* * Required. * The resource name of the company to be deleted. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java
index 686a3020320c..fc370f961d60 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java
@@ -100,8 +100,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* * Required. * The resource name of the job to be deleted. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -123,8 +126,11 @@ public java.lang.String getName() {
* * Required. * The resource name of the job to be deleted. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -467,8 +473,11 @@ public Builder mergeFrom(
* * Required. * The resource name of the job to be deleted. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -490,8 +499,11 @@ public java.lang.String getName() {
* * Required. * The resource name of the job to be deleted. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -513,8 +525,11 @@ public com.google.protobuf.ByteString getNameBytes() {
* * Required. * The resource name of the job to be deleted. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -534,8 +549,11 @@ public Builder setName(java.lang.String value) {
* * Required. * The resource name of the job to be deleted. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -552,8 +570,11 @@ public Builder clearName() {
* * Required. * The resource name of the job to be deleted. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java
index 5d5d2736def3..fadf96c121a2 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java
@@ -14,8 +14,11 @@ public interface DeleteJobRequestOrBuilder
* * Required. * The resource name of the job to be deleted. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -27,8 +30,11 @@ public interface DeleteJobRequestOrBuilder
* * Required. * The resource name of the job to be deleted. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecord.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecord.java
index 5455e7e9e686..b3b353d8f26c 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecord.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecord.java
@@ -131,14 +131,14 @@ private EmploymentRecord(
case 66:
{
com.google.protobuf.BoolValue.Builder subBuilder = null;
- if (isSupervisedPosition_ != null) {
- subBuilder = isSupervisedPosition_.toBuilder();
+ if (isSupervisor_ != null) {
+ subBuilder = isSupervisor_.toBuilder();
}
- isSupervisedPosition_ =
+ isSupervisor_ =
input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
- subBuilder.mergeFrom(isSupervisedPosition_);
- isSupervisedPosition_ = subBuilder.buildPartial();
+ subBuilder.mergeFrom(isSupervisor_);
+ isSupervisor_ = subBuilder.buildPartial();
}
break;
@@ -583,48 +583,48 @@ public com.google.protobuf.ByteString getJobDescriptionBytes() {
}
}
- public static final int IS_SUPERVISED_POSITION_FIELD_NUMBER = 8;
- private com.google.protobuf.BoolValue isSupervisedPosition_;
+ public static final int IS_SUPERVISOR_FIELD_NUMBER = 8;
+ private com.google.protobuf.BoolValue isSupervisor_;
/**
*
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- public boolean hasIsSupervisedPosition() {
- return isSupervisedPosition_ != null;
+ public boolean hasIsSupervisor() {
+ return isSupervisor_ != null;
}
/**
*
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- public com.google.protobuf.BoolValue getIsSupervisedPosition() {
- return isSupervisedPosition_ == null
+ public com.google.protobuf.BoolValue getIsSupervisor() {
+ return isSupervisor_ == null
? com.google.protobuf.BoolValue.getDefaultInstance()
- : isSupervisedPosition_;
+ : isSupervisor_;
}
/**
*
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- public com.google.protobuf.BoolValueOrBuilder getIsSupervisedPositionOrBuilder() {
- return getIsSupervisedPosition();
+ public com.google.protobuf.BoolValueOrBuilder getIsSupervisorOrBuilder() {
+ return getIsSupervisor();
}
public static final int IS_SELF_EMPLOYED_FIELD_NUMBER = 9;
@@ -901,8 +901,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!getJobDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, jobDescription_);
}
- if (isSupervisedPosition_ != null) {
- output.writeMessage(8, getIsSupervisedPosition());
+ if (isSupervisor_ != null) {
+ output.writeMessage(8, getIsSupervisor());
}
if (isSelfEmployed_ != null) {
output.writeMessage(9, getIsSelfEmployed());
@@ -949,9 +949,8 @@ public int getSerializedSize() {
if (!getJobDescriptionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, jobDescription_);
}
- if (isSupervisedPosition_ != null) {
- size +=
- com.google.protobuf.CodedOutputStream.computeMessageSize(8, getIsSupervisedPosition());
+ if (isSupervisor_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getIsSupervisor());
}
if (isSelfEmployed_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getIsSelfEmployed());
@@ -1001,9 +1000,9 @@ public boolean equals(final java.lang.Object obj) {
}
result = result && getJobTitle().equals(other.getJobTitle());
result = result && getJobDescription().equals(other.getJobDescription());
- result = result && (hasIsSupervisedPosition() == other.hasIsSupervisedPosition());
- if (hasIsSupervisedPosition()) {
- result = result && getIsSupervisedPosition().equals(other.getIsSupervisedPosition());
+ result = result && (hasIsSupervisor() == other.hasIsSupervisor());
+ if (hasIsSupervisor()) {
+ result = result && getIsSupervisor().equals(other.getIsSupervisor());
}
result = result && (hasIsSelfEmployed() == other.hasIsSelfEmployed());
if (hasIsSelfEmployed()) {
@@ -1047,9 +1046,9 @@ public int hashCode() {
hash = (53 * hash) + getJobTitle().hashCode();
hash = (37 * hash) + JOB_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getJobDescription().hashCode();
- if (hasIsSupervisedPosition()) {
- hash = (37 * hash) + IS_SUPERVISED_POSITION_FIELD_NUMBER;
- hash = (53 * hash) + getIsSupervisedPosition().hashCode();
+ if (hasIsSupervisor()) {
+ hash = (37 * hash) + IS_SUPERVISOR_FIELD_NUMBER;
+ hash = (53 * hash) + getIsSupervisor().hashCode();
}
if (hasIsSelfEmployed()) {
hash = (37 * hash) + IS_SELF_EMPLOYED_FIELD_NUMBER;
@@ -1236,11 +1235,11 @@ public Builder clear() {
jobDescription_ = "";
- if (isSupervisedPositionBuilder_ == null) {
- isSupervisedPosition_ = null;
+ if (isSupervisorBuilder_ == null) {
+ isSupervisor_ = null;
} else {
- isSupervisedPosition_ = null;
- isSupervisedPositionBuilder_ = null;
+ isSupervisor_ = null;
+ isSupervisorBuilder_ = null;
}
if (isSelfEmployedBuilder_ == null) {
isSelfEmployed_ = null;
@@ -1306,10 +1305,10 @@ public com.google.cloud.talent.v4beta1.EmploymentRecord buildPartial() {
}
result.jobTitle_ = jobTitle_;
result.jobDescription_ = jobDescription_;
- if (isSupervisedPositionBuilder_ == null) {
- result.isSupervisedPosition_ = isSupervisedPosition_;
+ if (isSupervisorBuilder_ == null) {
+ result.isSupervisor_ = isSupervisor_;
} else {
- result.isSupervisedPosition_ = isSupervisedPositionBuilder_.build();
+ result.isSupervisor_ = isSupervisorBuilder_.build();
}
if (isSelfEmployedBuilder_ == null) {
result.isSelfEmployed_ = isSelfEmployed_;
@@ -1399,8 +1398,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.EmploymentRecord other)
jobDescription_ = other.jobDescription_;
onChanged();
}
- if (other.hasIsSupervisedPosition()) {
- mergeIsSupervisedPosition(other.getIsSupervisedPosition());
+ if (other.hasIsSupervisor()) {
+ mergeIsSupervisor(other.getIsSupervisor());
}
if (other.hasIsSelfEmployed()) {
mergeIsSelfEmployed(other.getIsSelfEmployed());
@@ -2523,42 +2522,42 @@ public Builder setJobDescriptionBytes(com.google.protobuf.ByteString value) {
return this;
}
- private com.google.protobuf.BoolValue isSupervisedPosition_ = null;
+ private com.google.protobuf.BoolValue isSupervisor_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue,
com.google.protobuf.BoolValue.Builder,
com.google.protobuf.BoolValueOrBuilder>
- isSupervisedPositionBuilder_;
+ isSupervisorBuilder_;
/**
*
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- public boolean hasIsSupervisedPosition() {
- return isSupervisedPositionBuilder_ != null || isSupervisedPosition_ != null;
+ public boolean hasIsSupervisor() {
+ return isSupervisorBuilder_ != null || isSupervisor_ != null;
}
/**
*
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- public com.google.protobuf.BoolValue getIsSupervisedPosition() {
- if (isSupervisedPositionBuilder_ == null) {
- return isSupervisedPosition_ == null
+ public com.google.protobuf.BoolValue getIsSupervisor() {
+ if (isSupervisorBuilder_ == null) {
+ return isSupervisor_ == null
? com.google.protobuf.BoolValue.getDefaultInstance()
- : isSupervisedPosition_;
+ : isSupervisor_;
} else {
- return isSupervisedPositionBuilder_.getMessage();
+ return isSupervisorBuilder_.getMessage();
}
}
/**
@@ -2566,20 +2565,20 @@ public com.google.protobuf.BoolValue getIsSupervisedPosition() {
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- public Builder setIsSupervisedPosition(com.google.protobuf.BoolValue value) {
- if (isSupervisedPositionBuilder_ == null) {
+ public Builder setIsSupervisor(com.google.protobuf.BoolValue value) {
+ if (isSupervisorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- isSupervisedPosition_ = value;
+ isSupervisor_ = value;
onChanged();
} else {
- isSupervisedPositionBuilder_.setMessage(value);
+ isSupervisorBuilder_.setMessage(value);
}
return this;
@@ -2589,17 +2588,17 @@ public Builder setIsSupervisedPosition(com.google.protobuf.BoolValue value) {
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- public Builder setIsSupervisedPosition(com.google.protobuf.BoolValue.Builder builderForValue) {
- if (isSupervisedPositionBuilder_ == null) {
- isSupervisedPosition_ = builderForValue.build();
+ public Builder setIsSupervisor(com.google.protobuf.BoolValue.Builder builderForValue) {
+ if (isSupervisorBuilder_ == null) {
+ isSupervisor_ = builderForValue.build();
onChanged();
} else {
- isSupervisedPositionBuilder_.setMessage(builderForValue.build());
+ isSupervisorBuilder_.setMessage(builderForValue.build());
}
return this;
@@ -2609,24 +2608,24 @@ public Builder setIsSupervisedPosition(com.google.protobuf.BoolValue.Builder bui
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- public Builder mergeIsSupervisedPosition(com.google.protobuf.BoolValue value) {
- if (isSupervisedPositionBuilder_ == null) {
- if (isSupervisedPosition_ != null) {
- isSupervisedPosition_ =
- com.google.protobuf.BoolValue.newBuilder(isSupervisedPosition_)
+ public Builder mergeIsSupervisor(com.google.protobuf.BoolValue value) {
+ if (isSupervisorBuilder_ == null) {
+ if (isSupervisor_ != null) {
+ isSupervisor_ =
+ com.google.protobuf.BoolValue.newBuilder(isSupervisor_)
.mergeFrom(value)
.buildPartial();
} else {
- isSupervisedPosition_ = value;
+ isSupervisor_ = value;
}
onChanged();
} else {
- isSupervisedPositionBuilder_.mergeFrom(value);
+ isSupervisorBuilder_.mergeFrom(value);
}
return this;
@@ -2636,18 +2635,18 @@ public Builder mergeIsSupervisedPosition(com.google.protobuf.BoolValue value) {
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- public Builder clearIsSupervisedPosition() {
- if (isSupervisedPositionBuilder_ == null) {
- isSupervisedPosition_ = null;
+ public Builder clearIsSupervisor() {
+ if (isSupervisorBuilder_ == null) {
+ isSupervisor_ = null;
onChanged();
} else {
- isSupervisedPosition_ = null;
- isSupervisedPositionBuilder_ = null;
+ isSupervisor_ = null;
+ isSupervisorBuilder_ = null;
}
return this;
@@ -2657,33 +2656,33 @@ public Builder clearIsSupervisedPosition() {
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- public com.google.protobuf.BoolValue.Builder getIsSupervisedPositionBuilder() {
+ public com.google.protobuf.BoolValue.Builder getIsSupervisorBuilder() {
onChanged();
- return getIsSupervisedPositionFieldBuilder().getBuilder();
+ return getIsSupervisorFieldBuilder().getBuilder();
}
/**
*
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- public com.google.protobuf.BoolValueOrBuilder getIsSupervisedPositionOrBuilder() {
- if (isSupervisedPositionBuilder_ != null) {
- return isSupervisedPositionBuilder_.getMessageOrBuilder();
+ public com.google.protobuf.BoolValueOrBuilder getIsSupervisorOrBuilder() {
+ if (isSupervisorBuilder_ != null) {
+ return isSupervisorBuilder_.getMessageOrBuilder();
} else {
- return isSupervisedPosition_ == null
+ return isSupervisor_ == null
? com.google.protobuf.BoolValue.getDefaultInstance()
- : isSupervisedPosition_;
+ : isSupervisor_;
}
}
/**
@@ -2691,26 +2690,26 @@ public com.google.protobuf.BoolValueOrBuilder getIsSupervisedPositionOrBuilder()
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue,
com.google.protobuf.BoolValue.Builder,
com.google.protobuf.BoolValueOrBuilder>
- getIsSupervisedPositionFieldBuilder() {
- if (isSupervisedPositionBuilder_ == null) {
- isSupervisedPositionBuilder_ =
+ getIsSupervisorFieldBuilder() {
+ if (isSupervisorBuilder_ == null) {
+ isSupervisorBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue,
com.google.protobuf.BoolValue.Builder,
com.google.protobuf.BoolValueOrBuilder>(
- getIsSupervisedPosition(), getParentForChildren(), isClean());
- isSupervisedPosition_ = null;
+ getIsSupervisor(), getParentForChildren(), isClean());
+ isSupervisor_ = null;
}
- return isSupervisedPositionBuilder_;
+ return isSupervisorBuilder_;
}
private com.google.protobuf.BoolValue isSelfEmployed_ = null;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecordOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecordOrBuilder.java
index 547750279263..348ecbabe9a7 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecordOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentRecordOrBuilder.java
@@ -254,34 +254,34 @@ public interface EmploymentRecordOrBuilder
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- boolean hasIsSupervisedPosition();
+ boolean hasIsSupervisor();
/**
*
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- com.google.protobuf.BoolValue getIsSupervisedPosition();
+ com.google.protobuf.BoolValue getIsSupervisor();
/**
*
*
* * Optional. - * If it's a supervised position. + * If it is a supervisor position. ** - *
.google.protobuf.BoolValue is_supervised_position = 8;
+ * .google.protobuf.BoolValue is_supervisor = 8;
*/
- com.google.protobuf.BoolValueOrBuilder getIsSupervisedPositionOrBuilder();
+ com.google.protobuf.BoolValueOrBuilder getIsSupervisorOrBuilder();
/**
*
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java
index 103263f5aae9..283df63518a1 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java
@@ -16,10 +16,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_talent_v4beta1_ClientEvent_ExtraInfoEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_talent_v4beta1_ClientEvent_ExtraInfoEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -40,41 +36,35 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n\'google/cloud/talent/v4beta1/event.prot"
+ "o\022\033google.cloud.talent.v4beta1\032\034google/a"
+ "pi/annotations.proto\032\037google/protobuf/ti"
- + "mestamp.proto\"\354\002\n\013ClientEvent\022\022\n\nrequest"
+ + "mestamp.proto\"\202\002\n\013ClientEvent\022\022\n\nrequest"
+ "_id\030\001 \001(\t\022\020\n\010event_id\030\002 \001(\t\022/\n\013create_ti"
+ "me\030\004 \001(\0132\032.google.protobuf.Timestamp\022:\n\t"
+ "job_event\030\005 \001(\0132%.google.cloud.talent.v4"
+ "beta1.JobEventH\000\022B\n\rprofile_event\030\006 \001(\0132"
+ ").google.cloud.talent.v4beta1.ProfileEve"
- + "ntH\000\022K\n\nextra_info\030\007 \003(\01327.google.cloud."
- + "talent.v4beta1.ClientEvent.ExtraInfoEntr"
- + "y\0320\n\016ExtraInfoEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu"
- + "e\030\002 \001(\t:\0028\001B\007\n\005event\"\357\003\n\010JobEvent\022@\n\004typ"
- + "e\030\001 \001(\01622.google.cloud.talent.v4beta1.Jo"
- + "bEvent.JobEventType\022\014\n\004jobs\030\002 \003(\t\"\222\003\n\014Jo"
- + "bEventType\022\036\n\032JOB_EVENT_TYPE_UNSPECIFIED"
- + "\020\000\022\016\n\nIMPRESSION\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_RED"
- + "IRECT\020\003\022\025\n\021APPLICATION_START\020\004\022\026\n\022APPLIC"
- + "ATION_FINISH\020\005\022 \n\034APPLICATION_QUICK_SUBM"
- + "ISSION\020\006\022\030\n\024APPLICATION_REDIRECT\020\007\022!\n\035AP"
- + "PLICATION_START_FROM_SEARCH\020\010\022$\n APPLICA"
- + "TION_REDIRECT_FROM_SEARCH\020\t\022\036\n\032APPLICATI"
- + "ON_COMPANY_SUBMIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOT"
- + "IFICATION\020\014\022\t\n\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021I"
- + "NTERVIEW_GRANTED\020\017\022\022\n\016NOT_INTERESTED\020\020\"\361"
- + "\002\n\014ProfileEvent\022H\n\004type\030\001 \001(\0162:.google.c"
- + "loud.talent.v4beta1.ProfileEvent.Profile"
- + "EventType\022\020\n\010profiles\030\002 \003(\t\022\016\n\006job_id\030\003 "
- + "\001(\t\"\364\001\n\020ProfileEventType\022\"\n\036PROFILE_EVEN"
- + "T_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRESSION\020\001\022\010\n\004"
- + "VIEW\020\002\022\014\n\010BOOKMARK\020\003\022\021\n\rCOMMENT_ADDED\020\004\022"
- + "\016\n\nEMAIL_SENT\020\005\022\021\n\rRESUME_VIEWED\020\006\022\016\n\nAD"
- + "D_TO_JOB\020\007\022 \n\034POSITIVE_REACTION_TO_PROFI"
- + "LE\020\010\022 \n\034NEGATIVE_REACTION_TO_PROFILE\020\t\022\n"
- + "\n\006SCREEN\020\nBx\n\037com.google.cloud.talent.v4"
- + "beta1B\nEventProtoP\001ZAgoogle.golang.org/g"
- + "enproto/googleapis/cloud/talent/v4beta1;"
- + "talent\242\002\003CTSb\006proto3"
+ + "ntH\000\022\023\n\013event_notes\030\t \001(\tB\007\n\005event\"\357\003\n\010J"
+ + "obEvent\022@\n\004type\030\001 \001(\01622.google.cloud.tal"
+ + "ent.v4beta1.JobEvent.JobEventType\022\014\n\004job"
+ + "s\030\002 \003(\t\"\222\003\n\014JobEventType\022\036\n\032JOB_EVENT_TY"
+ + "PE_UNSPECIFIED\020\000\022\016\n\nIMPRESSION\020\001\022\010\n\004VIEW"
+ + "\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021APPLICATION_STA"
+ + "RT\020\004\022\026\n\022APPLICATION_FINISH\020\005\022 \n\034APPLICAT"
+ + "ION_QUICK_SUBMISSION\020\006\022\030\n\024APPLICATION_RE"
+ + "DIRECT\020\007\022!\n\035APPLICATION_START_FROM_SEARC"
+ + "H\020\010\022$\n APPLICATION_REDIRECT_FROM_SEARCH\020"
+ + "\t\022\036\n\032APPLICATION_COMPANY_SUBMIT\020\n\022\014\n\010BOO"
+ + "KMARK\020\013\022\020\n\014NOTIFICATION\020\014\022\t\n\005HIRED\020\r\022\013\n\007"
+ + "SENT_CV\020\016\022\025\n\021INTERVIEW_GRANTED\020\017\022\022\n\016NOT_"
+ + "INTERESTED\020\020\"\330\001\n\014ProfileEvent\022H\n\004type\030\001 "
+ + "\001(\0162:.google.cloud.talent.v4beta1.Profil"
+ + "eEvent.ProfileEventType\022\020\n\010profiles\030\002 \003("
+ + "\t\022\014\n\004jobs\030\006 \003(\t\"^\n\020ProfileEventType\022\"\n\036P"
+ + "ROFILE_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRE"
+ + "SSION\020\001\022\010\n\004VIEW\020\002\022\014\n\010BOOKMARK\020\003Bx\n\037com.g"
+ + "oogle.cloud.talent.v4beta1B\nEventProtoP\001"
+ + "ZAgoogle.golang.org/genproto/googleapis/"
+ + "cloud/talent/v4beta1;talent\242\002\003CTSb\006proto"
+ + "3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -102,17 +92,9 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"CreateTime",
"JobEvent",
"ProfileEvent",
- "ExtraInfo",
+ "EventNotes",
"Event",
});
- internal_static_google_cloud_talent_v4beta1_ClientEvent_ExtraInfoEntry_descriptor =
- internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor.getNestedTypes().get(0);
- internal_static_google_cloud_talent_v4beta1_ClientEvent_ExtraInfoEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_talent_v4beta1_ClientEvent_ExtraInfoEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable =
@@ -127,7 +109,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_talent_v4beta1_ProfileEvent_descriptor,
new java.lang.String[] {
- "Type", "Profiles", "JobId",
+ "Type", "Profiles", "Jobs",
});
com.google.api.AnnotationsProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java
index 0cf1c3a2ed60..1fdfe68cb9a9 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java
@@ -31,15 +31,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ud/talent/v4beta1/event.proto\"j\n\030CreateC"
+ "lientEventRequest\022\016\n\006parent\030\001 \001(\t\022>\n\014cli"
+ "ent_event\030\002 \001(\0132(.google.cloud.talent.v4"
- + "beta1.ClientEvent2\273\001\n\014EventService\022\252\001\n\021C"
+ + "beta1.ClientEvent2\365\001\n\014EventService\022\344\001\n\021C"
+ "reateClientEvent\0225.google.cloud.talent.v"
+ "4beta1.CreateClientEventRequest\032(.google"
- + ".cloud.talent.v4beta1.ClientEvent\"4\202\323\344\223\002"
- + ".\")/v4beta1/{parent=projects/*}/clientEv"
- + "ents:\001*B\177\n\037com.google.cloud.talent.v4bet"
- + "a1B\021EventServiceProtoP\001ZAgoogle.golang.o"
- + "rg/genproto/googleapis/cloud/talent/v4be"
- + "ta1;talent\242\002\003CTSb\006proto3"
+ + ".cloud.talent.v4beta1.ClientEvent\"n\202\323\344\223\002"
+ + "h\"3/v4beta1/{parent=projects/*/tenants/*"
+ + "}/clientEvents:\001*Z.\")/v4beta1/{parent=pr"
+ + "ojects/*}/clientEvents:\001*B\177\n\037com.google."
+ + "cloud.talent.v4beta1B\021EventServiceProtoP"
+ + "\001ZAgoogle.golang.org/genproto/googleapis"
+ + "/cloud/talent/v4beta1;talent\242\002\003CTSb\006prot"
+ + "o3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java
index c7d13f936a44..31ed9818328a 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java
@@ -57,9 +57,9 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_talent_v4beta1_ApplicationDateFilter_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeReasonFilter_descriptor;
+ internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeNotesFilter_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeReasonFilter_fieldAccessorTable;
+ internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeNotesFilter_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_talent_v4beta1_ApplicationLastStageFilter_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -87,126 +87,127 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n)google/cloud/talent/v4beta1/filters.pr"
+ "oto\022\033google.cloud.talent.v4beta1\032\034google"
- + "/api/annotations.proto\032(google/cloud/tal"
- + "ent/v4beta1/common.proto\032%google/cloud/t"
- + "alent/v4beta1/job.proto\032)google/cloud/ta"
- + "lent/v4beta1/profile.proto\032\036google/proto"
- + "buf/duration.proto\032\037google/protobuf/time"
- + "stamp.proto\032\036google/protobuf/wrappers.pr"
- + "oto\032\026google/type/date.proto\032\030google/type"
- + "/latlng.proto\032\033google/type/timeofday.pro"
- + "to\"\347\004\n\010JobQuery\022\r\n\005query\030\001 \001(\t\022\025\n\rcompan"
- + "y_names\030\002 \003(\t\022E\n\020location_filters\030\003 \003(\0132"
- + "+.google.cloud.talent.v4beta1.LocationFi"
- + "lter\022@\n\016job_categories\030\004 \003(\0162(.google.cl"
- + "oud.talent.v4beta1.JobCategory\022B\n\016commut"
- + "e_filter\030\005 \001(\0132*.google.cloud.talent.v4b"
- + "eta1.CommuteFilter\022\035\n\025company_display_na"
- + "mes\030\006 \003(\t\022L\n\023compensation_filter\030\007 \001(\0132/"
- + ".google.cloud.talent.v4beta1.Compensatio"
- + "nFilter\022\037\n\027custom_attribute_filter\030\010 \001(\t"
- + "\022\033\n\023disable_spell_check\030\t \001(\010\022E\n\020employm"
- + "ent_types\030\n \003(\0162+.google.cloud.talent.v4"
- + "beta1.EmploymentType\022\026\n\016language_codes\030\013"
- + " \003(\t\022G\n\022publish_time_range\030\014 \001(\0132+.googl"
- + "e.cloud.talent.v4beta1.TimestampRange\022\025\n"
- + "\rexcluded_jobs\030\r \003(\t\"\256\010\n\014ProfileQuery\022\r\n"
- + "\005query\030\001 \001(\t\022E\n\020location_filters\030\002 \003(\0132+"
- + ".google.cloud.talent.v4beta1.LocationFil"
- + "ter\022F\n\021job_title_filters\030\003 \003(\0132+.google."
- + "cloud.talent.v4beta1.JobTitleFilter\022E\n\020e"
- + "mployer_filters\030\004 \003(\0132+.google.cloud.tal"
- + "ent.v4beta1.EmployerFilter\022G\n\021education_"
- + "filters\030\005 \003(\0132,.google.cloud.talent.v4be"
- + "ta1.EducationFilter\022?\n\rskill_filters\030\006 \003"
- + "(\0132(.google.cloud.talent.v4beta1.SkillFi"
- + "lter\022Q\n\026work_experience_filter\030\007 \003(\01321.g"
- + "oogle.cloud.talent.v4beta1.WorkExperienc"
- + "eFilter\022=\n\014time_filters\030\010 \003(\0132\'.google.c"
- + "loud.talent.v4beta1.TimeFilter\0222\n\016hirabl"
- + "e_filter\030\t \001(\0132\032.google.protobuf.BoolVal"
- + "ue\022T\n\030application_date_filters\030\n \003(\01322.g"
- + "oogle.cloud.talent.v4beta1.ApplicationDa"
- + "teFilter\022g\n\"application_outcome_reason_f"
- + "ilters\030\013 \003(\0132;.google.cloud.talent.v4bet"
- + "a1.ApplicationOutcomeReasonFilter\022_\n\036app"
- + "lication_last_stage_filters\030\014 \003(\01327.goog"
- + "le.cloud.talent.v4beta1.ApplicationLastS"
- + "tageFilter\022R\n\027application_job_filters\030\r "
- + "\003(\01321.google.cloud.talent.v4beta1.Applic"
- + "ationJobFilter\022X\n\032application_status_fil"
- + "ters\030\016 \003(\01324.google.cloud.talent.v4beta1"
- + ".ApplicationStatusFilter\022\033\n\023custom_field"
- + "_filter\030\017 \001(\t\"\337\002\n\016LocationFilter\022\017\n\007addr"
- + "ess\030\001 \001(\t\022\023\n\013region_code\030\002 \001(\t\022$\n\007lat_ln"
- + "g\030\003 \001(\0132\023.google.type.LatLng\022\031\n\021distance"
- + "_in_miles\030\004 \001(\001\022a\n\026telecommute_preferenc"
- + "e\030\005 \001(\0162A.google.cloud.talent.v4beta1.Lo"
- + "cationFilter.TelecommutePreference\022\017\n\007ne"
- + "gated\030\006 \001(\010\"r\n\025TelecommutePreference\022&\n\""
- + "TELECOMMUTE_PREFERENCE_UNSPECIFIED\020\000\022\030\n\024"
- + "TELECOMMUTE_EXCLUDED\020\001\022\027\n\023TELECOMMUTE_AL"
- + "LOWED\020\002\"\300\003\n\022CompensationFilter\022H\n\004type\030\001"
- + " \001(\0162:.google.cloud.talent.v4beta1.Compe"
- + "nsationFilter.FilterType\022M\n\005units\030\002 \003(\0162"
- + ">.google.cloud.talent.v4beta1.Compensati"
- + "onInfo.CompensationUnit\022N\n\005range\030\003 \001(\0132?"
- + ".google.cloud.talent.v4beta1.Compensatio"
- + "nInfo.CompensationRange\0228\n0include_jobs_"
- + "with_unspecified_compensation_range\030\004 \001("
- + "\010\"\206\001\n\nFilterType\022\033\n\027FILTER_TYPE_UNSPECIF"
- + "IED\020\000\022\r\n\tUNIT_ONLY\020\001\022\023\n\017UNIT_AND_AMOUNT\020"
- + "\002\022\032\n\026ANNUALIZED_BASE_AMOUNT\020\003\022\033\n\027ANNUALI"
- + "ZED_TOTAL_AMOUNT\020\004\"\274\003\n\rCommuteFilter\022B\n\016"
- + "commute_method\030\001 \001(\0162*.google.cloud.tale"
- + "nt.v4beta1.CommuteMethod\022.\n\021start_coordi"
- + "nates\030\002 \001(\0132\023.google.type.LatLng\0222\n\017trav"
- + "el_duration\030\003 \001(\0132\031.google.protobuf.Dura"
- + "tion\022!\n\031allow_imprecise_addresses\030\004 \001(\010\022"
- + "N\n\014road_traffic\030\005 \001(\01626.google.cloud.tal"
- + "ent.v4beta1.CommuteFilter.RoadTrafficH\000\022"
- + "0\n\016departure_time\030\006 \001(\0132\026.google.type.Ti"
- + "meOfDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TRAFFIC"
- + "_UNSPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n\tBUSY"
- + "_HOUR\020\002B\020\n\016traffic_option\"4\n\016JobTitleFil"
- + "ter\022\021\n\tjob_title\030\001 \001(\t\022\017\n\007negated\030\002 \001(\010\""
- + "-\n\013SkillFilter\022\r\n\005skill\030\001 \001(\t\022\017\n\007negated"
- + "\030\002 \001(\010\"\241\002\n\016EmployerFilter\022\020\n\010employer\030\001 "
- + "\001(\t\022L\n\004mode\030\002 \001(\0162>.google.cloud.talent."
- + "v4beta1.EmployerFilter.EmployerFilterMod"
- + "e\022\017\n\007negated\030\003 \001(\010\"\235\001\n\022EmployerFilterMod"
- + "e\022$\n EMPLOYER_FILTER_MODE_UNSPECIFIED\020\000\022"
- + "\032\n\026ALL_EMPLOYMENT_RECORDS\020\001\022#\n\037CURRENT_E"
- + "MPLOYMENT_RECORDS_ONLY\020\002\022 \n\034PAST_EMPLOYM"
- + "ENT_RECORDS_ONLY\020\003\"\210\001\n\017EducationFilter\022\016"
- + "\n\006school\030\001 \001(\t\022\026\n\016field_of_study\030\002 \001(\t\022<"
- + "\n\013degree_type\030\003 \001(\0162\'.google.cloud.talen"
- + "t.v4beta1.DegreeType\022\017\n\007negated\030\006 \001(\010\"|\n"
- + "\024WorkExperienceFilter\0221\n\016min_experience\030"
- + "\001 \001(\0132\031.google.protobuf.Duration\0221\n\016max_"
- + "experience\030\002 \001(\0132\031.google.protobuf.Durat"
- + "ion\"c\n\025ApplicationDateFilter\022%\n\nstart_da"
- + "te\030\001 \001(\0132\021.google.type.Date\022#\n\010end_date\030"
- + "\002 \001(\0132\021.google.type.Date\"I\n\036ApplicationO"
- + "utcomeReasonFilter\022\026\n\016outcome_reason\030\001 \001"
- + "(\t\022\017\n\007negated\030\002 \001(\010\"A\n\032ApplicationLastSt"
- + "ageFilter\022\022\n\nlast_stage\030\001 \001(\t\022\017\n\007negated"
- + "\030\002 \001(\010\"h\n\024ApplicationJobFilter\022\020\n\010job_na"
- + "me\030\001 \001(\t\022\032\n\022job_requisition_id\030\002 \001(\t\022\021\n\t"
- + "job_title\030\003 \001(\t\022\017\n\007negated\030\004 \001(\010\"\205\001\n\027App"
- + "licationStatusFilter\022Y\n\022application_stat"
- + "us\030\001 \001(\0162=.google.cloud.talent.v4beta1.J"
- + "obApplication.ApplicationStatus\022\017\n\007negat"
- + "ed\030\002 \001(\010\"\374\001\n\nTimeFilter\022.\n\nstart_time\030\001 "
- + "\001(\0132\032.google.protobuf.Timestamp\022,\n\010end_t"
- + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022E\n"
- + "\ntime_field\030\003 \001(\01621.google.cloud.talent."
- + "v4beta1.TimeFilter.TimeField\"I\n\tTimeFiel"
- + "d\022\032\n\026TIME_FIELD_UNSPECIFIED\020\000\022\017\n\013CREATE_"
- + "TIME\020\001\022\017\n\013UPDATE_TIME\020\002Bz\n\037com.google.cl"
- + "oud.talent.v4beta1B\014FiltersProtoP\001ZAgoog"
- + "le.golang.org/genproto/googleapis/cloud/"
- + "talent/v4beta1;talent\242\002\003CTSb\006proto3"
+ + "/api/annotations.proto\032-google/cloud/tal"
+ + "ent/v4beta1/application.proto\032(google/cl"
+ + "oud/talent/v4beta1/common.proto\032%google/"
+ + "cloud/talent/v4beta1/job.proto\032)google/c"
+ + "loud/talent/v4beta1/profile.proto\032\036googl"
+ + "e/protobuf/duration.proto\032\037google/protob"
+ + "uf/timestamp.proto\032\036google/protobuf/wrap"
+ + "pers.proto\032\026google/type/date.proto\032\030goog"
+ + "le/type/latlng.proto\032\033google/type/timeof"
+ + "day.proto\"\343\004\n\010JobQuery\022\r\n\005query\030\001 \001(\t\022\021\n"
+ + "\tcompanies\030\002 \003(\t\022E\n\020location_filters\030\003 \003"
+ + "(\0132+.google.cloud.talent.v4beta1.Locatio"
+ + "nFilter\022@\n\016job_categories\030\004 \003(\0162(.google"
+ + ".cloud.talent.v4beta1.JobCategory\022B\n\016com"
+ + "mute_filter\030\005 \001(\0132*.google.cloud.talent."
+ + "v4beta1.CommuteFilter\022\035\n\025company_display"
+ + "_names\030\006 \003(\t\022L\n\023compensation_filter\030\007 \001("
+ + "\0132/.google.cloud.talent.v4beta1.Compensa"
+ + "tionFilter\022\037\n\027custom_attribute_filter\030\010 "
+ + "\001(\t\022\033\n\023disable_spell_check\030\t \001(\010\022E\n\020empl"
+ + "oyment_types\030\n \003(\0162+.google.cloud.talent"
+ + ".v4beta1.EmploymentType\022\026\n\016language_code"
+ + "s\030\013 \003(\t\022G\n\022publish_time_range\030\014 \001(\0132+.go"
+ + "ogle.cloud.talent.v4beta1.TimestampRange"
+ + "\022\025\n\rexcluded_jobs\030\r \003(\t\"\254\010\n\014ProfileQuery"
+ + "\022\r\n\005query\030\001 \001(\t\022E\n\020location_filters\030\002 \003("
+ + "\0132+.google.cloud.talent.v4beta1.Location"
+ + "Filter\022F\n\021job_title_filters\030\003 \003(\0132+.goog"
+ + "le.cloud.talent.v4beta1.JobTitleFilter\022E"
+ + "\n\020employer_filters\030\004 \003(\0132+.google.cloud."
+ + "talent.v4beta1.EmployerFilter\022G\n\021educati"
+ + "on_filters\030\005 \003(\0132,.google.cloud.talent.v"
+ + "4beta1.EducationFilter\022?\n\rskill_filters\030"
+ + "\006 \003(\0132(.google.cloud.talent.v4beta1.Skil"
+ + "lFilter\022Q\n\026work_experience_filter\030\007 \003(\0132"
+ + "1.google.cloud.talent.v4beta1.WorkExperi"
+ + "enceFilter\022=\n\014time_filters\030\010 \003(\0132\'.googl"
+ + "e.cloud.talent.v4beta1.TimeFilter\0222\n\016hir"
+ + "able_filter\030\t \001(\0132\032.google.protobuf.Bool"
+ + "Value\022T\n\030application_date_filters\030\n \003(\0132"
+ + "2.google.cloud.talent.v4beta1.Applicatio"
+ + "nDateFilter\022e\n!application_outcome_notes"
+ + "_filters\030\013 \003(\0132:.google.cloud.talent.v4b"
+ + "eta1.ApplicationOutcomeNotesFilter\022_\n\036ap"
+ + "plication_last_stage_filters\030\014 \003(\01327.goo"
+ + "gle.cloud.talent.v4beta1.ApplicationLast"
+ + "StageFilter\022R\n\027application_job_filters\030\r"
+ + " \003(\01321.google.cloud.talent.v4beta1.Appli"
+ + "cationJobFilter\022X\n\032application_status_fi"
+ + "lters\030\016 \003(\01324.google.cloud.talent.v4beta"
+ + "1.ApplicationStatusFilter\022\033\n\023custom_fiel"
+ + "d_filter\030\017 \001(\t\"\337\002\n\016LocationFilter\022\017\n\007add"
+ + "ress\030\001 \001(\t\022\023\n\013region_code\030\002 \001(\t\022$\n\007lat_l"
+ + "ng\030\003 \001(\0132\023.google.type.LatLng\022\031\n\021distanc"
+ + "e_in_miles\030\004 \001(\001\022a\n\026telecommute_preferen"
+ + "ce\030\005 \001(\0162A.google.cloud.talent.v4beta1.L"
+ + "ocationFilter.TelecommutePreference\022\017\n\007n"
+ + "egated\030\006 \001(\010\"r\n\025TelecommutePreference\022&\n"
+ + "\"TELECOMMUTE_PREFERENCE_UNSPECIFIED\020\000\022\030\n"
+ + "\024TELECOMMUTE_EXCLUDED\020\001\022\027\n\023TELECOMMUTE_A"
+ + "LLOWED\020\002\"\300\003\n\022CompensationFilter\022H\n\004type\030"
+ + "\001 \001(\0162:.google.cloud.talent.v4beta1.Comp"
+ + "ensationFilter.FilterType\022M\n\005units\030\002 \003(\016"
+ + "2>.google.cloud.talent.v4beta1.Compensat"
+ + "ionInfo.CompensationUnit\022N\n\005range\030\003 \001(\0132"
+ + "?.google.cloud.talent.v4beta1.Compensati"
+ + "onInfo.CompensationRange\0228\n0include_jobs"
+ + "_with_unspecified_compensation_range\030\004 \001"
+ + "(\010\"\206\001\n\nFilterType\022\033\n\027FILTER_TYPE_UNSPECI"
+ + "FIED\020\000\022\r\n\tUNIT_ONLY\020\001\022\023\n\017UNIT_AND_AMOUNT"
+ + "\020\002\022\032\n\026ANNUALIZED_BASE_AMOUNT\020\003\022\033\n\027ANNUAL"
+ + "IZED_TOTAL_AMOUNT\020\004\"\274\003\n\rCommuteFilter\022B\n"
+ + "\016commute_method\030\001 \001(\0162*.google.cloud.tal"
+ + "ent.v4beta1.CommuteMethod\022.\n\021start_coord"
+ + "inates\030\002 \001(\0132\023.google.type.LatLng\0222\n\017tra"
+ + "vel_duration\030\003 \001(\0132\031.google.protobuf.Dur"
+ + "ation\022!\n\031allow_imprecise_addresses\030\004 \001(\010"
+ + "\022N\n\014road_traffic\030\005 \001(\01626.google.cloud.ta"
+ + "lent.v4beta1.CommuteFilter.RoadTrafficH\000"
+ + "\0220\n\016departure_time\030\006 \001(\0132\026.google.type.T"
+ + "imeOfDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TRAFFI"
+ + "C_UNSPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n\tBUS"
+ + "Y_HOUR\020\002B\020\n\016traffic_option\"4\n\016JobTitleFi"
+ + "lter\022\021\n\tjob_title\030\001 \001(\t\022\017\n\007negated\030\002 \001(\010"
+ + "\"-\n\013SkillFilter\022\r\n\005skill\030\001 \001(\t\022\017\n\007negate"
+ + "d\030\002 \001(\010\"\241\002\n\016EmployerFilter\022\020\n\010employer\030\001"
+ + " \001(\t\022L\n\004mode\030\002 \001(\0162>.google.cloud.talent"
+ + ".v4beta1.EmployerFilter.EmployerFilterMo"
+ + "de\022\017\n\007negated\030\003 \001(\010\"\235\001\n\022EmployerFilterMo"
+ + "de\022$\n EMPLOYER_FILTER_MODE_UNSPECIFIED\020\000"
+ + "\022\032\n\026ALL_EMPLOYMENT_RECORDS\020\001\022#\n\037CURRENT_"
+ + "EMPLOYMENT_RECORDS_ONLY\020\002\022 \n\034PAST_EMPLOY"
+ + "MENT_RECORDS_ONLY\020\003\"\210\001\n\017EducationFilter\022"
+ + "\016\n\006school\030\001 \001(\t\022\026\n\016field_of_study\030\002 \001(\t\022"
+ + "<\n\013degree_type\030\003 \001(\0162\'.google.cloud.tale"
+ + "nt.v4beta1.DegreeType\022\017\n\007negated\030\006 \001(\010\"|"
+ + "\n\024WorkExperienceFilter\0221\n\016min_experience"
+ + "\030\001 \001(\0132\031.google.protobuf.Duration\0221\n\016max"
+ + "_experience\030\002 \001(\0132\031.google.protobuf.Dura"
+ + "tion\"c\n\025ApplicationDateFilter\022%\n\nstart_d"
+ + "ate\030\001 \001(\0132\021.google.type.Date\022#\n\010end_date"
+ + "\030\002 \001(\0132\021.google.type.Date\"G\n\035Application"
+ + "OutcomeNotesFilter\022\025\n\routcome_notes\030\001 \001("
+ + "\t\022\017\n\007negated\030\002 \001(\010\"A\n\032ApplicationLastSta"
+ + "geFilter\022\022\n\nlast_stage\030\001 \001(\t\022\017\n\007negated\030"
+ + "\002 \001(\010\"c\n\024ApplicationJobFilter\022\013\n\003job\030\001 \001"
+ + "(\t\022\032\n\022job_requisition_id\030\002 \001(\t\022\021\n\tjob_ti"
+ + "tle\030\003 \001(\t\022\017\n\007negated\030\004 \001(\010\"\200\001\n\027Applicati"
+ + "onStatusFilter\022T\n\021application_state\030\001 \001("
+ + "\01629.google.cloud.talent.v4beta1.Applicat"
+ + "ion.ApplicationState\022\017\n\007negated\030\002 \001(\010\"\374\001"
+ + "\n\nTimeFilter\022.\n\nstart_time\030\001 \001(\0132\032.googl"
+ + "e.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032"
+ + ".google.protobuf.Timestamp\022E\n\ntime_field"
+ + "\030\003 \001(\01621.google.cloud.talent.v4beta1.Tim"
+ + "eFilter.TimeField\"I\n\tTimeField\022\032\n\026TIME_F"
+ + "IELD_UNSPECIFIED\020\000\022\017\n\013CREATE_TIME\020\001\022\017\n\013U"
+ + "PDATE_TIME\020\002Bz\n\037com.google.cloud.talent."
+ + "v4beta1B\014FiltersProtoP\001ZAgoogle.golang.o"
+ + "rg/genproto/googleapis/cloud/talent/v4be"
+ + "ta1;talent\242\002\003CTSb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -220,6 +221,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.cloud.talent.v4beta1.ApplicationResourceProto.getDescriptor(),
com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(),
com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(),
com.google.cloud.talent.v4beta1.ProfileResourceProto.getDescriptor(),
@@ -238,7 +240,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor,
new java.lang.String[] {
"Query",
- "CompanyNames",
+ "Companies",
"LocationFilters",
"JobCategories",
"CommuteFilter",
@@ -267,7 +269,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"TimeFilters",
"HirableFilter",
"ApplicationDateFilters",
- "ApplicationOutcomeReasonFilters",
+ "ApplicationOutcomeNotesFilters",
"ApplicationLastStageFilters",
"ApplicationJobFilters",
"ApplicationStatusFilters",
@@ -356,13 +358,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new java.lang.String[] {
"StartDate", "EndDate",
});
- internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeReasonFilter_descriptor =
+ internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeNotesFilter_descriptor =
getDescriptor().getMessageTypes().get(11);
- internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeReasonFilter_fieldAccessorTable =
+ internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeNotesFilter_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeReasonFilter_descriptor,
+ internal_static_google_cloud_talent_v4beta1_ApplicationOutcomeNotesFilter_descriptor,
new java.lang.String[] {
- "OutcomeReason", "Negated",
+ "OutcomeNotes", "Negated",
});
internal_static_google_cloud_talent_v4beta1_ApplicationLastStageFilter_descriptor =
getDescriptor().getMessageTypes().get(12);
@@ -378,7 +380,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_talent_v4beta1_ApplicationJobFilter_descriptor,
new java.lang.String[] {
- "JobName", "JobRequisitionId", "JobTitle", "Negated",
+ "Job", "JobRequisitionId", "JobTitle", "Negated",
});
internal_static_google_cloud_talent_v4beta1_ApplicationStatusFilter_descriptor =
getDescriptor().getMessageTypes().get(14);
@@ -386,7 +388,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_talent_v4beta1_ApplicationStatusFilter_descriptor,
new java.lang.String[] {
- "ApplicationStatus", "Negated",
+ "ApplicationState", "Negated",
});
internal_static_google_cloud_talent_v4beta1_TimeFilter_descriptor =
getDescriptor().getMessageTypes().get(15);
@@ -397,6 +399,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"StartTime", "EndTime", "TimeField",
});
com.google.api.AnnotationsProto.getDescriptor();
+ com.google.cloud.talent.v4beta1.ApplicationResourceProto.getDescriptor();
com.google.cloud.talent.v4beta1.CommonProto.getDescriptor();
com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor();
com.google.cloud.talent.v4beta1.ProfileResourceProto.getDescriptor();
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ParseResumeOptions.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetApplicationRequest.java
similarity index 50%
rename from google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ParseResumeOptions.java
rename to google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetApplicationRequest.java
index 7c09ccb1d5fe..03a7d4e957e0 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ParseResumeOptions.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetApplicationRequest.java
@@ -1,5 +1,5 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/talent/v4beta1/resume_service.proto
+// source: google/cloud/talent/v4beta1/application_service.proto
package com.google.cloud.talent.v4beta1;
@@ -7,24 +7,23 @@
*
*
* - * Options that change how the resume parse is performed. + * Request for getting a application by name. ** - * Protobuf type {@code google.cloud.talent.v4beta1.ParseResumeOptions} + * Protobuf type {@code google.cloud.talent.v4beta1.GetApplicationRequest} */ -public final class ParseResumeOptions extends com.google.protobuf.GeneratedMessageV3 +public final class GetApplicationRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ParseResumeOptions) - ParseResumeOptionsOrBuilder { + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetApplicationRequest) + GetApplicationRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use ParseResumeOptions.newBuilder() to construct. - private ParseResumeOptions(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use GetApplicationRequest.newBuilder() to construct. + private GetApplicationRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private ParseResumeOptions() { - enableOcr_ = false; - enableFullSkillDetection_ = false; + private GetApplicationRequest() { + name_ = ""; } @java.lang.Override @@ -32,7 +31,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private ParseResumeOptions( + private GetApplicationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -51,14 +50,11 @@ private ParseResumeOptions( case 0: done = true; break; - case 8: + case 10: { - enableOcr_ = input.readBool(); - break; - } - case 16: - { - enableFullSkillDetection_ = input.readBool(); + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; break; } default: @@ -81,58 +77,71 @@ private ParseResumeOptions( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.ResumeServiceProto - .internal_static_google_cloud_talent_v4beta1_ParseResumeOptions_descriptor; + return com.google.cloud.talent.v4beta1.ApplicationServiceProto + .internal_static_google_cloud_talent_v4beta1_GetApplicationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.ResumeServiceProto - .internal_static_google_cloud_talent_v4beta1_ParseResumeOptions_fieldAccessorTable + return com.google.cloud.talent.v4beta1.ApplicationServiceProto + .internal_static_google_cloud_talent_v4beta1_GetApplicationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ParseResumeOptions.class, - com.google.cloud.talent.v4beta1.ParseResumeOptions.Builder.class); + com.google.cloud.talent.v4beta1.GetApplicationRequest.class, + com.google.cloud.talent.v4beta1.GetApplicationRequest.Builder.class); } - public static final int ENABLE_OCR_FIELD_NUMBER = 1; - private boolean enableOcr_; + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; /** * * *
- * Optional. - * Controls whether Optical Character Recognition (OCR) is enabled. - * OCR is used to decipher pictorial resumes, or resumes that have some - * element of pictorial detail (for example, contact information placed within - * an image in a pdf). Note that the API call has a higher latency if OCR is - * enabled. + * Required. + * The resource name of the application to be retrieved. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". ** - *
bool enable_ocr = 1;
+ * string name = 1;
*/
- public boolean getEnableOcr() {
- return enableOcr_;
+ 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;
+ }
}
-
- public static final int ENABLE_FULL_SKILL_DETECTION_FIELD_NUMBER = 2;
- private boolean enableFullSkillDetection_;
/**
*
*
* - * Optional. - * Controls whether detected skills are included in the parsed profile from - * sections of the resume other than just skills sections. - * Normally, returned skills are limited to those taken from a resume section - * intended to list skills. When enabled, this feature causes detected - * skills in other sections to also be included in the returned profile. + * Required. + * The resource name of the application to be retrieved. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". ** - *
bool enable_full_skill_detection = 2;
+ * string name = 1;
*/
- public boolean getEnableFullSkillDetection() {
- return enableFullSkillDetection_;
+ 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;
+ }
}
private byte memoizedIsInitialized = -1;
@@ -149,11 +158,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (enableOcr_ != false) {
- output.writeBool(1, enableOcr_);
- }
- if (enableFullSkillDetection_ != false) {
- output.writeBool(2, enableFullSkillDetection_);
+ if (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
unknownFields.writeTo(output);
}
@@ -164,11 +170,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (enableOcr_ != false) {
- size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableOcr_);
- }
- if (enableFullSkillDetection_ != false) {
- size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableFullSkillDetection_);
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -180,15 +183,14 @@ public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
- if (!(obj instanceof com.google.cloud.talent.v4beta1.ParseResumeOptions)) {
+ if (!(obj instanceof com.google.cloud.talent.v4beta1.GetApplicationRequest)) {
return super.equals(obj);
}
- com.google.cloud.talent.v4beta1.ParseResumeOptions other =
- (com.google.cloud.talent.v4beta1.ParseResumeOptions) obj;
+ com.google.cloud.talent.v4beta1.GetApplicationRequest other =
+ (com.google.cloud.talent.v4beta1.GetApplicationRequest) obj;
boolean result = true;
- result = result && (getEnableOcr() == other.getEnableOcr());
- result = result && (getEnableFullSkillDetection() == other.getEnableFullSkillDetection());
+ result = result && getName().equals(other.getName());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -200,80 +202,78 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + ENABLE_OCR_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableOcr());
- hash = (37 * hash) + ENABLE_FULL_SKILL_DETECTION_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableFullSkillDetection());
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.cloud.talent.v4beta1.ParseResumeOptions parseFrom(
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.cloud.talent.v4beta1.ParseResumeOptions parseFrom(
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest 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.ParseResumeOptions parseFrom(
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.cloud.talent.v4beta1.ParseResumeOptions parseFrom(
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest parseFrom(
com.google.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.ParseResumeOptions parseFrom(byte[] data)
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.cloud.talent.v4beta1.ParseResumeOptions parseFrom(
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest 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.ParseResumeOptions parseFrom(
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
- public static com.google.cloud.talent.v4beta1.ParseResumeOptions parseFrom(
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest 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.ParseResumeOptions parseDelimitedFrom(
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.cloud.talent.v4beta1.ParseResumeOptions parseDelimitedFrom(
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest 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.ParseResumeOptions parseFrom(
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest 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.ParseResumeOptions parseFrom(
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -290,7 +290,8 @@ public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(com.google.cloud.talent.v4beta1.ParseResumeOptions prototype) {
+ public static Builder newBuilder(
+ com.google.cloud.talent.v4beta1.GetApplicationRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -308,31 +309,31 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* - * Options that change how the resume parse is performed. + * Request for getting a application by name. ** - * Protobuf type {@code google.cloud.talent.v4beta1.ParseResumeOptions} + * Protobuf type {@code google.cloud.talent.v4beta1.GetApplicationRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
- * Optional. - * Controls whether Optical Character Recognition (OCR) is enabled. - * OCR is used to decipher pictorial resumes, or resumes that have some - * element of pictorial detail (for example, contact information placed within - * an image in a pdf). Note that the API call has a higher latency if OCR is - * enabled. + * Required. + * The resource name of the application to be retrieved. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". ** - *
bool enable_ocr = 1;
+ * string name = 1;
*/
- public boolean getEnableOcr() {
- return enableOcr_;
+ 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. - * Controls whether Optical Character Recognition (OCR) is enabled. - * OCR is used to decipher pictorial resumes, or resumes that have some - * element of pictorial detail (for example, contact information placed within - * an image in a pdf). Note that the API call has a higher latency if OCR is - * enabled. + * Required. + * The resource name of the application to be retrieved. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". ** - *
bool enable_ocr = 1;
+ * string name = 1;
*/
- public Builder setEnableOcr(boolean value) {
-
- enableOcr_ = value;
- onChanged();
- return this;
+ 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. - * Controls whether Optical Character Recognition (OCR) is enabled. - * OCR is used to decipher pictorial resumes, or resumes that have some - * element of pictorial detail (for example, contact information placed within - * an image in a pdf). Note that the API call has a higher latency if OCR is - * enabled. + * Required. + * The resource name of the application to be retrieved. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". ** - *
bool enable_ocr = 1;
+ * string name = 1;
*/
- public Builder clearEnableOcr() {
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
- enableOcr_ = false;
+ name_ = value;
onChanged();
return this;
}
-
- private boolean enableFullSkillDetection_;
- /**
- *
- *
- * - * Optional. - * Controls whether detected skills are included in the parsed profile from - * sections of the resume other than just skills sections. - * Normally, returned skills are limited to those taken from a resume section - * intended to list skills. When enabled, this feature causes detected - * skills in other sections to also be included in the returned profile. - *- * - *
bool enable_full_skill_detection = 2;
- */
- public boolean getEnableFullSkillDetection() {
- return enableFullSkillDetection_;
- }
/**
*
*
* - * Optional. - * Controls whether detected skills are included in the parsed profile from - * sections of the resume other than just skills sections. - * Normally, returned skills are limited to those taken from a resume section - * intended to list skills. When enabled, this feature causes detected - * skills in other sections to also be included in the returned profile. + * Required. + * The resource name of the application to be retrieved. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". ** - *
bool enable_full_skill_detection = 2;
+ * string name = 1;
*/
- public Builder setEnableFullSkillDetection(boolean value) {
+ public Builder clearName() {
- enableFullSkillDetection_ = value;
+ name_ = getDefaultInstance().getName();
onChanged();
return this;
}
@@ -569,19 +562,23 @@ public Builder setEnableFullSkillDetection(boolean value) {
*
*
* - * Optional. - * Controls whether detected skills are included in the parsed profile from - * sections of the resume other than just skills sections. - * Normally, returned skills are limited to those taken from a resume section - * intended to list skills. When enabled, this feature causes detected - * skills in other sections to also be included in the returned profile. + * Required. + * The resource name of the application to be retrieved. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". ** - *
bool enable_full_skill_detection = 2;
+ * string name = 1;
*/
- public Builder clearEnableFullSkillDetection() {
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
- enableFullSkillDetection_ = false;
+ name_ = value;
onChanged();
return this;
}
@@ -597,42 +594,42 @@ public final Builder mergeUnknownFields(
return super.mergeUnknownFields(unknownFields);
}
- // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ParseResumeOptions)
+ // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetApplicationRequest)
}
- // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ParseResumeOptions)
- private static final com.google.cloud.talent.v4beta1.ParseResumeOptions DEFAULT_INSTANCE;
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetApplicationRequest)
+ private static final com.google.cloud.talent.v4beta1.GetApplicationRequest DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ParseResumeOptions();
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetApplicationRequest();
}
- public static com.google.cloud.talent.v4beta1.ParseResumeOptions getDefaultInstance() {
+ public static com.google.cloud.talent.v4beta1.GetApplicationRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser+ * Required. + * The resource name of the application to be retrieved. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". + *+ * + *
string name = 1;
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ * + * Required. + * The resource name of the application to be retrieved. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", + * for example, + * "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". + *+ * + *
string name = 1;
+ */
+ com.google.protobuf.ByteString getNameBytes();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java
index ef15568e61ab..e0754d13e557 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java
@@ -99,8 +99,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* * Required. * The resource name of the company to be retrieved. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -122,8 +125,11 @@ public java.lang.String getName() {
* * Required. * The resource name of the company to be retrieved. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -466,8 +472,11 @@ public Builder mergeFrom(
* * Required. * The resource name of the company to be retrieved. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -489,8 +498,11 @@ public java.lang.String getName() {
* * Required. * The resource name of the company to be retrieved. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -512,8 +524,11 @@ public com.google.protobuf.ByteString getNameBytes() {
* * Required. * The resource name of the company to be retrieved. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -533,8 +548,11 @@ public Builder setName(java.lang.String value) {
* * Required. * The resource name of the company to be retrieved. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -551,8 +569,11 @@ public Builder clearName() {
* * Required. * The resource name of the company to be retrieved. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java
index a9dc06a78964..16a917ad51d2 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java
@@ -14,8 +14,11 @@ public interface GetCompanyRequestOrBuilder
* * Required. * The resource name of the company to be retrieved. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
@@ -27,8 +30,11 @@ public interface GetCompanyRequestOrBuilder
* * Required. * The resource name of the company to be retrieved. - * The format is "projects/{project_id}/companies/{company_id}", for example, - * "projects/api-test-project/companies/foo". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** *
string name = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java
index bd8bd4574a68..ce9cf0e042d0 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java
@@ -100,8 +100,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* * Required. * The resource name of the job to retrieve. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -123,8 +126,11 @@ public java.lang.String getName() {
* * Required. * The resource name of the job to retrieve. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -466,8 +472,11 @@ public Builder mergeFrom(
* * Required. * The resource name of the job to retrieve. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -489,8 +498,11 @@ public java.lang.String getName() {
* * Required. * The resource name of the job to retrieve. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -512,8 +524,11 @@ public com.google.protobuf.ByteString getNameBytes() {
* * Required. * The resource name of the job to retrieve. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -533,8 +548,11 @@ public Builder setName(java.lang.String value) {
* * Required. * The resource name of the job to retrieve. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -551,8 +569,11 @@ public Builder clearName() {
* * Required. * The resource name of the job to retrieve. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java
index 29731ee39b5e..9c2783265eb2 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java
@@ -14,8 +14,11 @@ public interface GetJobRequestOrBuilder
* * Required. * The resource name of the job to retrieve. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
@@ -27,8 +30,11 @@ public interface GetJobRequestOrBuilder
* * Required. * The resource name of the job to retrieve. - * The format is "projects/{project_id}/jobs/{job_id}", - * for example, "projects/api-test-project/jobs/1234". + * The format is + * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for + * example, "projects/api-test-project/tenants/foo/jobs/1234". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/jobs/1234". ** *
string name = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Interview.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Interview.java
new file mode 100644
index 000000000000..0afc017d614d
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Interview.java
@@ -0,0 +1,855 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/common.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Details of an interview. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.Interview} + */ +public final class Interview extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Interview) + InterviewOrBuilder { + private static final long serialVersionUID = 0L; + // Use Interview.newBuilder() to construct. + private Interview(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private Interview() { + outcome_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Interview( + 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 50: + { + com.google.cloud.talent.v4beta1.Rating.Builder subBuilder = null; + if (rating_ != null) { + subBuilder = rating_.toBuilder(); + } + rating_ = + input.readMessage( + com.google.cloud.talent.v4beta1.Rating.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rating_); + rating_ = subBuilder.buildPartial(); + } + + break; + } + case 56: + { + int rawValue = input.readEnum(); + + outcome_ = rawValue; + 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.CommonProto + .internal_static_google_cloud_talent_v4beta1_Interview_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_Interview_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.Interview.class, + com.google.cloud.talent.v4beta1.Interview.Builder.class); + } + + public static final int RATING_FIELD_NUMBER = 6; + private com.google.cloud.talent.v4beta1.Rating rating_; + /** + * + * + *
+ * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ public boolean hasRating() {
+ return rating_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ public com.google.cloud.talent.v4beta1.Rating getRating() {
+ return rating_ == null ? com.google.cloud.talent.v4beta1.Rating.getDefaultInstance() : rating_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ public com.google.cloud.talent.v4beta1.RatingOrBuilder getRatingOrBuilder() {
+ return getRating();
+ }
+
+ public static final int OUTCOME_FIELD_NUMBER = 7;
+ private int outcome_;
+ /**
+ *
+ *
+ * + * Required. + * The overall decision resulting from this interview (positive, negative, + * nuetral). + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 7;
+ */
+ public int getOutcomeValue() {
+ return outcome_;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The overall decision resulting from this interview (positive, negative, + * nuetral). + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 7;
+ */
+ public com.google.cloud.talent.v4beta1.Outcome getOutcome() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.Outcome result =
+ com.google.cloud.talent.v4beta1.Outcome.valueOf(outcome_);
+ return result == null ? com.google.cloud.talent.v4beta1.Outcome.UNRECOGNIZED : result;
+ }
+
+ 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 (rating_ != null) {
+ output.writeMessage(6, getRating());
+ }
+ if (outcome_ != com.google.cloud.talent.v4beta1.Outcome.OUTCOME_UNSPECIFIED.getNumber()) {
+ output.writeEnum(7, outcome_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (rating_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRating());
+ }
+ if (outcome_ != com.google.cloud.talent.v4beta1.Outcome.OUTCOME_UNSPECIFIED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, outcome_);
+ }
+ 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.Interview)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.Interview other =
+ (com.google.cloud.talent.v4beta1.Interview) obj;
+
+ boolean result = true;
+ result = result && (hasRating() == other.hasRating());
+ if (hasRating()) {
+ result = result && getRating().equals(other.getRating());
+ }
+ result = result && outcome_ == other.outcome_;
+ 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 (hasRating()) {
+ hash = (37 * hash) + RATING_FIELD_NUMBER;
+ hash = (53 * hash) + getRating().hashCode();
+ }
+ hash = (37 * hash) + OUTCOME_FIELD_NUMBER;
+ hash = (53 * hash) + outcome_;
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.Interview parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Interview 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.Interview parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Interview parseFrom(
+ com.google.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.Interview parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Interview 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.Interview parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Interview 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.Interview parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.Interview 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.Interview 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.Interview 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.Interview 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;
+ }
+ /**
+ *
+ *
+ * + * Details of an interview. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.Interview} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ public boolean hasRating() {
+ return ratingBuilder_ != null || rating_ != null;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ public com.google.cloud.talent.v4beta1.Rating getRating() {
+ if (ratingBuilder_ == null) {
+ return rating_ == null
+ ? com.google.cloud.talent.v4beta1.Rating.getDefaultInstance()
+ : rating_;
+ } else {
+ return ratingBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ public Builder setRating(com.google.cloud.talent.v4beta1.Rating value) {
+ if (ratingBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ rating_ = value;
+ onChanged();
+ } else {
+ ratingBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ public Builder setRating(com.google.cloud.talent.v4beta1.Rating.Builder builderForValue) {
+ if (ratingBuilder_ == null) {
+ rating_ = builderForValue.build();
+ onChanged();
+ } else {
+ ratingBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ public Builder mergeRating(com.google.cloud.talent.v4beta1.Rating value) {
+ if (ratingBuilder_ == null) {
+ if (rating_ != null) {
+ rating_ =
+ com.google.cloud.talent.v4beta1.Rating.newBuilder(rating_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ rating_ = value;
+ }
+ onChanged();
+ } else {
+ ratingBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ public Builder clearRating() {
+ if (ratingBuilder_ == null) {
+ rating_ = null;
+ onChanged();
+ } else {
+ rating_ = null;
+ ratingBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ public com.google.cloud.talent.v4beta1.Rating.Builder getRatingBuilder() {
+
+ onChanged();
+ return getRatingFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ public com.google.cloud.talent.v4beta1.RatingOrBuilder getRatingOrBuilder() {
+ if (ratingBuilder_ != null) {
+ return ratingBuilder_.getMessageOrBuilder();
+ } else {
+ return rating_ == null
+ ? com.google.cloud.talent.v4beta1.Rating.getDefaultInstance()
+ : rating_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.talent.v4beta1.Rating,
+ com.google.cloud.talent.v4beta1.Rating.Builder,
+ com.google.cloud.talent.v4beta1.RatingOrBuilder>
+ getRatingFieldBuilder() {
+ if (ratingBuilder_ == null) {
+ ratingBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.talent.v4beta1.Rating,
+ com.google.cloud.talent.v4beta1.Rating.Builder,
+ com.google.cloud.talent.v4beta1.RatingOrBuilder>(
+ getRating(), getParentForChildren(), isClean());
+ rating_ = null;
+ }
+ return ratingBuilder_;
+ }
+
+ private int outcome_ = 0;
+ /**
+ *
+ *
+ * + * Required. + * The overall decision resulting from this interview (positive, negative, + * nuetral). + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 7;
+ */
+ public int getOutcomeValue() {
+ return outcome_;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The overall decision resulting from this interview (positive, negative, + * nuetral). + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 7;
+ */
+ public Builder setOutcomeValue(int value) {
+ outcome_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The overall decision resulting from this interview (positive, negative, + * nuetral). + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 7;
+ */
+ public com.google.cloud.talent.v4beta1.Outcome getOutcome() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4beta1.Outcome result =
+ com.google.cloud.talent.v4beta1.Outcome.valueOf(outcome_);
+ return result == null ? com.google.cloud.talent.v4beta1.Outcome.UNRECOGNIZED : result;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The overall decision resulting from this interview (positive, negative, + * nuetral). + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 7;
+ */
+ public Builder setOutcome(com.google.cloud.talent.v4beta1.Outcome value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ outcome_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * The overall decision resulting from this interview (positive, negative, + * nuetral). + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 7;
+ */
+ public Builder clearOutcome() {
+
+ outcome_ = 0;
+ 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.Interview)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Interview)
+ private static final com.google.cloud.talent.v4beta1.Interview DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Interview();
+ }
+
+ public static com.google.cloud.talent.v4beta1.Interview getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ boolean hasRating();
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ com.google.cloud.talent.v4beta1.Rating getRating();
+ /**
+ *
+ *
+ * + * Optional. + * The rating on this interview. + *+ * + *
.google.cloud.talent.v4beta1.Rating rating = 6;
+ */
+ com.google.cloud.talent.v4beta1.RatingOrBuilder getRatingOrBuilder();
+
+ /**
+ *
+ *
+ * + * Required. + * The overall decision resulting from this interview (positive, negative, + * nuetral). + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 7;
+ */
+ int getOutcomeValue();
+ /**
+ *
+ *
+ * + * Required. + * The overall decision resulting from this interview (positive, negative, + * nuetral). + *+ * + *
.google.cloud.talent.v4beta1.Outcome outcome = 7;
+ */
+ com.google.cloud.talent.v4beta1.Outcome getOutcome();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
index b3a27d40fbe1..3cca7153dd31 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
@@ -27,7 +27,7 @@ private Job(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Job() {
name_ = "";
- companyName_ = "";
+ company_ = "";
requisitionId_ = "";
title_ = "";
description_ = "";
@@ -82,7 +82,7 @@ private Job(
{
java.lang.String s = input.readStringRequireUtf8();
- companyName_ = s;
+ company_ = s;
break;
}
case 26:
@@ -4384,8 +4384,11 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstanceF
* Required during job update.
* The resource name for the job. This is generated by the service when a
* job is created.
- * The format is "projects/{project_id}/jobs/{job_id}",
- * for example, "projects/api-test-project/jobs/1234".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
+ * example, "projects/api-test-project/tenants/foo/jobs/1234".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/jobs/1234".
* Use of this field in job queries and API calls is preferred over the use of
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this
* value is unique.
@@ -4411,8 +4414,11 @@ public java.lang.String getName() {
* Required during job update.
* The resource name for the job. This is generated by the service when a
* job is created.
- * The format is "projects/{project_id}/jobs/{job_id}",
- * for example, "projects/api-test-project/jobs/1234".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
+ * example, "projects/api-test-project/tenants/foo/jobs/1234".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/jobs/1234".
* Use of this field in job queries and API calls is preferred over the use of
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this
* value is unique.
@@ -4432,27 +4438,31 @@ public com.google.protobuf.ByteString getNameBytes() {
}
}
- public static final int COMPANY_NAME_FIELD_NUMBER = 2;
- private volatile java.lang.Object companyName_;
+ public static final int COMPANY_FIELD_NUMBER = 2;
+ private volatile java.lang.Object company_;
/**
*
*
* * Required. - * The resource name of the company listing the job, such as - * "projects/api-test-project/companies/foo". + * The resource name of the company listing the job. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 2;
+ * string company = 2;
*/
- public java.lang.String getCompanyName() {
- java.lang.Object ref = companyName_;
+ public java.lang.String getCompany() {
+ java.lang.Object ref = company_;
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();
- companyName_ = s;
+ company_ = s;
return s;
}
}
@@ -4461,18 +4471,22 @@ public java.lang.String getCompanyName() {
*
* * Required. - * The resource name of the company listing the job, such as - * "projects/api-test-project/companies/foo". + * The resource name of the company listing the job. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 2;
+ * string company = 2;
*/
- public com.google.protobuf.ByteString getCompanyNameBytes() {
- java.lang.Object ref = companyName_;
+ public com.google.protobuf.ByteString getCompanyBytes() {
+ java.lang.Object ref = company_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- companyName_ = b;
+ company_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -4901,7 +4915,8 @@ public int getJobBenefitsValue(int index) {
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -4914,7 +4929,8 @@ public boolean hasCompensationInfo() {
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -4929,7 +4945,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() {
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -5845,8 +5862,7 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -5886,8 +5902,7 @@ public boolean hasPostingExpireTime() {
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -5929,8 +5944,7 @@ public com.google.protobuf.Timestamp getPostingExpireTime() {
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -6187,8 +6201,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
- if (!getCompanyNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, companyName_);
+ if (!getCompanyBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, company_);
}
if (!getRequisitionIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requisitionId_);
@@ -6299,8 +6313,8 @@ public int getSerializedSize() {
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
- if (!getCompanyNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, companyName_);
+ if (!getCompanyBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, company_);
}
if (!getRequisitionIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requisitionId_);
@@ -6447,7 +6461,7 @@ public boolean equals(final java.lang.Object obj) {
boolean result = true;
result = result && getName().equals(other.getName());
- result = result && getCompanyName().equals(other.getCompanyName());
+ result = result && getCompany().equals(other.getCompany());
result = result && getRequisitionId().equals(other.getRequisitionId());
result = result && getTitle().equals(other.getTitle());
result = result && getDescription().equals(other.getDescription());
@@ -6519,8 +6533,8 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
- hash = (37 * hash) + COMPANY_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getCompanyName().hashCode();
+ hash = (37 * hash) + COMPANY_FIELD_NUMBER;
+ hash = (53 * hash) + getCompany().hashCode();
hash = (37 * hash) + REQUISITION_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequisitionId().hashCode();
hash = (37 * hash) + TITLE_FIELD_NUMBER;
@@ -6776,7 +6790,7 @@ public Builder clear() {
super.clear();
name_ = "";
- companyName_ = "";
+ company_ = "";
requisitionId_ = "";
@@ -6902,7 +6916,7 @@ public com.google.cloud.talent.v4beta1.Job buildPartial() {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.name_ = name_;
- result.companyName_ = companyName_;
+ result.company_ = company_;
result.requisitionId_ = requisitionId_;
result.title_ = title_;
result.description_ = description_;
@@ -7042,8 +7056,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job other) {
name_ = other.name_;
onChanged();
}
- if (!other.getCompanyName().isEmpty()) {
- companyName_ = other.companyName_;
+ if (!other.getCompany().isEmpty()) {
+ company_ = other.company_;
onChanged();
}
if (!other.getRequisitionId().isEmpty()) {
@@ -7204,8 +7218,11 @@ public Builder mergeFrom(
* Required during job update.
* The resource name for the job. This is generated by the service when a
* job is created.
- * The format is "projects/{project_id}/jobs/{job_id}",
- * for example, "projects/api-test-project/jobs/1234".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
+ * example, "projects/api-test-project/tenants/foo/jobs/1234".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/jobs/1234".
* Use of this field in job queries and API calls is preferred over the use of
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this
* value is unique.
@@ -7231,8 +7248,11 @@ public java.lang.String getName() {
* Required during job update.
* The resource name for the job. This is generated by the service when a
* job is created.
- * The format is "projects/{project_id}/jobs/{job_id}",
- * for example, "projects/api-test-project/jobs/1234".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
+ * example, "projects/api-test-project/tenants/foo/jobs/1234".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/jobs/1234".
* Use of this field in job queries and API calls is preferred over the use of
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this
* value is unique.
@@ -7258,8 +7278,11 @@ public com.google.protobuf.ByteString getNameBytes() {
* Required during job update.
* The resource name for the job. This is generated by the service when a
* job is created.
- * The format is "projects/{project_id}/jobs/{job_id}",
- * for example, "projects/api-test-project/jobs/1234".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
+ * example, "projects/api-test-project/tenants/foo/jobs/1234".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/jobs/1234".
* Use of this field in job queries and API calls is preferred over the use of
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this
* value is unique.
@@ -7283,8 +7306,11 @@ public Builder setName(java.lang.String value) {
* Required during job update.
* The resource name for the job. This is generated by the service when a
* job is created.
- * The format is "projects/{project_id}/jobs/{job_id}",
- * for example, "projects/api-test-project/jobs/1234".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
+ * example, "projects/api-test-project/tenants/foo/jobs/1234".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/jobs/1234".
* Use of this field in job queries and API calls is preferred over the use of
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this
* value is unique.
@@ -7305,8 +7331,11 @@ public Builder clearName() {
* Required during job update.
* The resource name for the job. This is generated by the service when a
* job is created.
- * The format is "projects/{project_id}/jobs/{job_id}",
- * for example, "projects/api-test-project/jobs/1234".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
+ * example, "projects/api-test-project/tenants/foo/jobs/1234".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/jobs/1234".
* Use of this field in job queries and API calls is preferred over the use of
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this
* value is unique.
@@ -7325,24 +7354,28 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
return this;
}
- private java.lang.Object companyName_ = "";
+ private java.lang.Object company_ = "";
/**
*
*
* * Required. - * The resource name of the company listing the job, such as - * "projects/api-test-project/companies/foo". + * The resource name of the company listing the job. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 2;
+ * string company = 2;
*/
- public java.lang.String getCompanyName() {
- java.lang.Object ref = companyName_;
+ public java.lang.String getCompany() {
+ java.lang.Object ref = company_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- companyName_ = s;
+ company_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -7353,18 +7386,22 @@ public java.lang.String getCompanyName() {
*
* * Required. - * The resource name of the company listing the job, such as - * "projects/api-test-project/companies/foo". + * The resource name of the company listing the job. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 2;
+ * string company = 2;
*/
- public com.google.protobuf.ByteString getCompanyNameBytes() {
- java.lang.Object ref = companyName_;
+ public com.google.protobuf.ByteString getCompanyBytes() {
+ java.lang.Object ref = company_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- companyName_ = b;
+ company_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -7375,18 +7412,22 @@ public com.google.protobuf.ByteString getCompanyNameBytes() {
*
* * Required. - * The resource name of the company listing the job, such as - * "projects/api-test-project/companies/foo". + * The resource name of the company listing the job. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 2;
+ * string company = 2;
*/
- public Builder setCompanyName(java.lang.String value) {
+ public Builder setCompany(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- companyName_ = value;
+ company_ = value;
onChanged();
return this;
}
@@ -7395,15 +7436,19 @@ public Builder setCompanyName(java.lang.String value) {
*
* * Required. - * The resource name of the company listing the job, such as - * "projects/api-test-project/companies/foo". + * The resource name of the company listing the job. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 2;
+ * string company = 2;
*/
- public Builder clearCompanyName() {
+ public Builder clearCompany() {
- companyName_ = getDefaultInstance().getCompanyName();
+ company_ = getDefaultInstance().getCompany();
onChanged();
return this;
}
@@ -7412,19 +7457,23 @@ public Builder clearCompanyName() {
*
* * Required. - * The resource name of the company listing the job, such as - * "projects/api-test-project/companies/foo". + * The resource name of the company listing the job. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 2;
+ * string company = 2;
*/
- public Builder setCompanyNameBytes(com.google.protobuf.ByteString value) {
+ public Builder setCompanyBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- companyName_ = value;
+ company_ = value;
onChanged();
return this;
}
@@ -8504,7 +8553,8 @@ public Builder addAllJobBenefitsValue(java.lang.Iterable* Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -8517,7 +8567,8 @@ public boolean hasCompensationInfo() {
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -8536,7 +8587,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() {
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -8559,7 +8611,8 @@ public Builder setCompensationInfo(com.google.cloud.talent.v4beta1.CompensationI
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -8580,7 +8633,8 @@ public Builder setCompensationInfo(
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -8607,7 +8661,8 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4beta1.Compensatio
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -8628,7 +8683,8 @@ public Builder clearCompensationInfo() {
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -8643,7 +8699,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationI
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -8663,7 +8720,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationI
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -10961,8 +11019,7 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -11002,8 +11059,7 @@ public boolean hasPostingExpireTime() {
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -11049,8 +11105,7 @@ public com.google.protobuf.Timestamp getPostingExpireTime() {
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -11100,8 +11155,7 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -11148,8 +11202,7 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builde
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -11203,8 +11256,7 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -11252,8 +11304,7 @@ public Builder clearPostingExpireTime() {
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -11295,8 +11346,7 @@ public com.google.protobuf.Timestamp.Builder getPostingExpireTimeBuilder() {
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -11342,8 +11392,7 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobApplication.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobApplication.java
deleted file mode 100644
index 50fe42668444..000000000000
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobApplication.java
+++ /dev/null
@@ -1,3468 +0,0 @@
-// 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 job application record of a candidate. - *- * - * Protobuf type {@code google.cloud.talent.v4beta1.JobApplication} - */ -public final class JobApplication extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobApplication) - JobApplicationOrBuilder { - private static final long serialVersionUID = 0L; - // Use JobApplication.newBuilder() to construct. - private JobApplication(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private JobApplication() { - applicationId_ = ""; - lastStage_ = ""; - state_ = 0; - averageInterviewScore_ = 0D; - interviewScoreScaleId_ = ""; - numberOfInterviews_ = 0; - outcomeReason_ = ""; - outcomePositiveness_ = 0D; - jobTitleSnippet_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private JobApplication( - 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.cloud.talent.v4beta1.Job.Builder subBuilder = null; - if (job_ != null) { - subBuilder = job_.toBuilder(); - } - job_ = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(job_); - job_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - applicationId_ = s; - break; - } - case 26: - { - com.google.type.Date.Builder subBuilder = null; - if (applicationDate_ != null) { - subBuilder = applicationDate_.toBuilder(); - } - applicationDate_ = - input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(applicationDate_); - applicationDate_ = subBuilder.buildPartial(); - } - - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - lastStage_ = s; - break; - } - case 40: - { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 49: - { - averageInterviewScore_ = input.readDouble(); - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - - interviewScoreScaleId_ = s; - break; - } - case 64: - { - numberOfInterviews_ = input.readInt32(); - break; - } - case 74: - { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (isEmployeeReferred_ != null) { - subBuilder = isEmployeeReferred_.toBuilder(); - } - isEmployeeReferred_ = - input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(isEmployeeReferred_); - isEmployeeReferred_ = subBuilder.buildPartial(); - } - - break; - } - case 82: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; - } - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - - outcomeReason_ = s; - break; - } - case 97: - { - outcomePositiveness_ = input.readDouble(); - break; - } - case 106: - { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (isMatch_ != null) { - subBuilder = isMatch_.toBuilder(); - } - isMatch_ = - input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(isMatch_); - isMatch_ = subBuilder.buildPartial(); - } - - break; - } - case 114: - { - java.lang.String s = input.readStringRequireUtf8(); - - jobTitleSnippet_ = 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_JobApplication_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.ProfileResourceProto - .internal_static_google_cloud_talent_v4beta1_JobApplication_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobApplication.class, - com.google.cloud.talent.v4beta1.JobApplication.Builder.class); - } - - /** - * - * - *
- * Enum that represents the application status. - *- * - * Protobuf enum {@code google.cloud.talent.v4beta1.JobApplication.ApplicationStatus} - */ - public enum ApplicationStatus implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
- * Default value. - *- * - *
APPLICATION_STATUS_UNSPECIFIED = 0;
- */
- APPLICATION_STATUS_UNSPECIFIED(0),
- /**
- *
- *
- * - * The offer is extended. - *- * - *
OFFER_EXTENDED = 1;
- */
- OFFER_EXTENDED(1),
- /**
- *
- *
- * - * The offer is rejected by candidate. - *- * - *
REJECTED_BY_CANDIDATE = 2;
- */
- REJECTED_BY_CANDIDATE(2),
- /**
- *
- *
- * - * The application is active. - *- * - *
ACTIVE = 3;
- */
- ACTIVE(3),
- /**
- *
- *
- * - * The candidate is rejected by employer. - *- * - *
REJECTED_BY_EMPLOYER = 4;
- */
- REJECTED_BY_EMPLOYER(4),
- /**
- *
- *
- * - * The candidate is hired and hasn't started the new job. - *- * - *
HIRED_PENDING_DATE = 5;
- */
- HIRED_PENDING_DATE(5),
- /**
- *
- *
- * - * The candidate is hired started. - *- * - *
HIRED_STARTED = 6;
- */
- HIRED_STARTED(6),
- /**
- *
- *
- * - * The candidate is a prospect candidate. - *- * - *
PROSPECTED = 7;
- */
- PROSPECTED(7),
- UNRECOGNIZED(-1),
- ;
-
- /**
- *
- *
- * - * Default value. - *- * - *
APPLICATION_STATUS_UNSPECIFIED = 0;
- */
- public static final int APPLICATION_STATUS_UNSPECIFIED_VALUE = 0;
- /**
- *
- *
- * - * The offer is extended. - *- * - *
OFFER_EXTENDED = 1;
- */
- public static final int OFFER_EXTENDED_VALUE = 1;
- /**
- *
- *
- * - * The offer is rejected by candidate. - *- * - *
REJECTED_BY_CANDIDATE = 2;
- */
- public static final int REJECTED_BY_CANDIDATE_VALUE = 2;
- /**
- *
- *
- * - * The application is active. - *- * - *
ACTIVE = 3;
- */
- public static final int ACTIVE_VALUE = 3;
- /**
- *
- *
- * - * The candidate is rejected by employer. - *- * - *
REJECTED_BY_EMPLOYER = 4;
- */
- public static final int REJECTED_BY_EMPLOYER_VALUE = 4;
- /**
- *
- *
- * - * The candidate is hired and hasn't started the new job. - *- * - *
HIRED_PENDING_DATE = 5;
- */
- public static final int HIRED_PENDING_DATE_VALUE = 5;
- /**
- *
- *
- * - * The candidate is hired started. - *- * - *
HIRED_STARTED = 6;
- */
- public static final int HIRED_STARTED_VALUE = 6;
- /**
- *
- *
- * - * The candidate is a prospect candidate. - *- * - *
PROSPECTED = 7;
- */
- public static final int PROSPECTED_VALUE = 7;
-
- public final int getNumber() {
- if (this == UNRECOGNIZED) {
- throw new java.lang.IllegalArgumentException(
- "Can't get the number of an unknown enum value.");
- }
- return value;
- }
-
- /** @deprecated Use {@link #forNumber(int)} instead. */
- @java.lang.Deprecated
- public static ApplicationStatus valueOf(int value) {
- return forNumber(value);
- }
-
- public static ApplicationStatus forNumber(int value) {
- switch (value) {
- case 0:
- return APPLICATION_STATUS_UNSPECIFIED;
- case 1:
- return OFFER_EXTENDED;
- case 2:
- return REJECTED_BY_CANDIDATE;
- case 3:
- return ACTIVE;
- case 4:
- return REJECTED_BY_EMPLOYER;
- case 5:
- return HIRED_PENDING_DATE;
- case 6:
- return HIRED_STARTED;
- case 7:
- return PROSPECTED;
- default:
- return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap- * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- public boolean hasJob() {
- return job_ != null;
- }
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- public com.google.cloud.talent.v4beta1.Job getJob() {
- return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_;
- }
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
- return getJob();
- }
-
- public static final int APPLICATION_ID_FIELD_NUMBER = 2;
- private volatile java.lang.Object applicationId_;
- /**
- *
- *
- * - * Optional. - * The job application id. - * Number of characters allowed is 100. - *- * - *
string application_id = 2;
- */
- public java.lang.String getApplicationId() {
- java.lang.Object ref = applicationId_;
- 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();
- applicationId_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * Optional. - * The job application id. - * Number of characters allowed is 100. - *- * - *
string application_id = 2;
- */
- public com.google.protobuf.ByteString getApplicationIdBytes() {
- java.lang.Object ref = applicationId_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- applicationId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int APPLICATION_DATE_FIELD_NUMBER = 3;
- private com.google.type.Date applicationDate_;
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- public boolean hasApplicationDate() {
- return applicationDate_ != null;
- }
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- public com.google.type.Date getApplicationDate() {
- return applicationDate_ == null ? com.google.type.Date.getDefaultInstance() : applicationDate_;
- }
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- public com.google.type.DateOrBuilder getApplicationDateOrBuilder() {
- return getApplicationDate();
- }
-
- public static final int LAST_STAGE_FIELD_NUMBER = 4;
- private volatile java.lang.Object lastStage_;
- /**
- *
- *
- * - * Optional. - * The last stage the candidate reached in the application progress. - * For example, "new", "phone screen", "interview". - *- * - *
string last_stage = 4;
- */
- 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;
- }
- }
- /**
- *
- *
- * - * Optional. - * The last stage the candidate reached in the application progress. - * For example, "new", "phone screen", "interview". - *- * - *
string last_stage = 4;
- */
- 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 STATE_FIELD_NUMBER = 5;
- private int state_;
- /**
- *
- *
- * - * Optional. - * The application state. - *- * - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus state = 5;
- */
- public int getStateValue() {
- return state_;
- }
- /**
- *
- *
- * - * Optional. - * The application state. - *- * - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus state = 5;
- */
- public com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus getState() {
- @SuppressWarnings("deprecation")
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus result =
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.valueOf(state_);
- return result == null
- ? com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.UNRECOGNIZED
- : result;
- }
-
- public static final int AVERAGE_INTERVIEW_SCORE_FIELD_NUMBER = 6;
- private double averageInterviewScore_;
- /**
- *
- *
- * - * Optional. - * The average interview score. - *- * - *
double average_interview_score = 6;
- */
- public double getAverageInterviewScore() {
- return averageInterviewScore_;
- }
-
- public static final int INTERVIEW_SCORE_SCALE_ID_FIELD_NUMBER = 7;
- private volatile java.lang.Object interviewScoreScaleId_;
- /**
- *
- *
- * - * Optional. - * The scale id of the interview score. - * Number of characters allowed is 100. - *- * - *
string interview_score_scale_id = 7;
- */
- public java.lang.String getInterviewScoreScaleId() {
- java.lang.Object ref = interviewScoreScaleId_;
- 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();
- interviewScoreScaleId_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * Optional. - * The scale id of the interview score. - * Number of characters allowed is 100. - *- * - *
string interview_score_scale_id = 7;
- */
- public com.google.protobuf.ByteString getInterviewScoreScaleIdBytes() {
- java.lang.Object ref = interviewScoreScaleId_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- interviewScoreScaleId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int NUMBER_OF_INTERVIEWS_FIELD_NUMBER = 8;
- private int numberOfInterviews_;
- /**
- *
- *
- * - * Optional. - * The number of interviews. - *- * - *
int32 number_of_interviews = 8;
- */
- public int getNumberOfInterviews() {
- return numberOfInterviews_;
- }
-
- public static final int IS_EMPLOYEE_REFERRED_FIELD_NUMBER = 9;
- private com.google.protobuf.BoolValue isEmployeeReferred_;
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- public boolean hasIsEmployeeReferred() {
- return isEmployeeReferred_ != null;
- }
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- public com.google.protobuf.BoolValue getIsEmployeeReferred() {
- return isEmployeeReferred_ == null
- ? com.google.protobuf.BoolValue.getDefaultInstance()
- : isEmployeeReferred_;
- }
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- public com.google.protobuf.BoolValueOrBuilder getIsEmployeeReferredOrBuilder() {
- return getIsEmployeeReferred();
- }
-
- public static final int UPDATE_TIME_FIELD_NUMBER = 10;
- private com.google.protobuf.Timestamp updateTime_;
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- public boolean hasUpdateTime() {
- return updateTime_ != null;
- }
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- public com.google.protobuf.Timestamp getUpdateTime() {
- return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
- }
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- return getUpdateTime();
- }
-
- public static final int OUTCOME_REASON_FIELD_NUMBER = 11;
- private volatile java.lang.Object outcomeReason_;
- /**
- *
- *
- * - * Optional. - * The outcome reason for the job application. - * Number of characters allowed is 100. - *- * - *
string outcome_reason = 11;
- */
- 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;
- }
- }
- /**
- *
- *
- * - * Optional. - * The outcome reason for the job application. - * Number of characters allowed is 100. - *- * - *
string outcome_reason = 11;
- */
- 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 OUTCOME_POSITIVENESS_FIELD_NUMBER = 12;
- private double outcomePositiveness_;
- /**
- *
- *
- * - * Optional. - * Outcome positiveness shows how positive the outcome is. - * Currently only -1, 0 and 1 are accepted, where -1 means not positive, 0 - * means neutral and 1 means positive. An error is thrown if other value is - * set. - *- * - *
double outcome_positiveness = 12;
- */
- public double getOutcomePositiveness() {
- return outcomePositiveness_;
- }
-
- public static final int IS_MATCH_FIELD_NUMBER = 13;
- private com.google.protobuf.BoolValue isMatch_;
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- public boolean hasIsMatch() {
- return isMatch_ != null;
- }
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- public com.google.protobuf.BoolValue getIsMatch() {
- return isMatch_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isMatch_;
- }
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- public com.google.protobuf.BoolValueOrBuilder getIsMatchOrBuilder() {
- return getIsMatch();
- }
-
- public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER = 14;
- private volatile java.lang.Object jobTitleSnippet_;
- /**
- *
- *
- * - * Output only. Job title snippet shows how the job title is related to a - * search query. It's empty if the job title isn't related to the search - * query. - *- * - *
string job_title_snippet = 14;
- */
- public java.lang.String getJobTitleSnippet() {
- java.lang.Object ref = jobTitleSnippet_;
- 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();
- jobTitleSnippet_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * Output only. Job title snippet shows how the job title is related to a - * search query. It's empty if the job title isn't related to the search - * query. - *- * - *
string job_title_snippet = 14;
- */
- public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
- java.lang.Object ref = jobTitleSnippet_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- jobTitleSnippet_ = 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 (job_ != null) {
- output.writeMessage(1, getJob());
- }
- if (!getApplicationIdBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, applicationId_);
- }
- if (applicationDate_ != null) {
- output.writeMessage(3, getApplicationDate());
- }
- if (!getLastStageBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 4, lastStage_);
- }
- if (state_
- != com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus
- .APPLICATION_STATUS_UNSPECIFIED
- .getNumber()) {
- output.writeEnum(5, state_);
- }
- if (averageInterviewScore_ != 0D) {
- output.writeDouble(6, averageInterviewScore_);
- }
- if (!getInterviewScoreScaleIdBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 7, interviewScoreScaleId_);
- }
- if (numberOfInterviews_ != 0) {
- output.writeInt32(8, numberOfInterviews_);
- }
- if (isEmployeeReferred_ != null) {
- output.writeMessage(9, getIsEmployeeReferred());
- }
- if (updateTime_ != null) {
- output.writeMessage(10, getUpdateTime());
- }
- if (!getOutcomeReasonBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 11, outcomeReason_);
- }
- if (outcomePositiveness_ != 0D) {
- output.writeDouble(12, outcomePositiveness_);
- }
- if (isMatch_ != null) {
- output.writeMessage(13, getIsMatch());
- }
- if (!getJobTitleSnippetBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 14, jobTitleSnippet_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (job_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
- }
- if (!getApplicationIdBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, applicationId_);
- }
- if (applicationDate_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getApplicationDate());
- }
- if (!getLastStageBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, lastStage_);
- }
- if (state_
- != com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus
- .APPLICATION_STATUS_UNSPECIFIED
- .getNumber()) {
- size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_);
- }
- if (averageInterviewScore_ != 0D) {
- size += com.google.protobuf.CodedOutputStream.computeDoubleSize(6, averageInterviewScore_);
- }
- if (!getInterviewScoreScaleIdBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, interviewScoreScaleId_);
- }
- if (numberOfInterviews_ != 0) {
- size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, numberOfInterviews_);
- }
- if (isEmployeeReferred_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getIsEmployeeReferred());
- }
- if (updateTime_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime());
- }
- if (!getOutcomeReasonBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, outcomeReason_);
- }
- if (outcomePositiveness_ != 0D) {
- size += com.google.protobuf.CodedOutputStream.computeDoubleSize(12, outcomePositiveness_);
- }
- if (isMatch_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getIsMatch());
- }
- if (!getJobTitleSnippetBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, jobTitleSnippet_);
- }
- 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.JobApplication)) {
- return super.equals(obj);
- }
- com.google.cloud.talent.v4beta1.JobApplication other =
- (com.google.cloud.talent.v4beta1.JobApplication) obj;
-
- boolean result = true;
- result = result && (hasJob() == other.hasJob());
- if (hasJob()) {
- result = result && getJob().equals(other.getJob());
- }
- result = result && getApplicationId().equals(other.getApplicationId());
- result = result && (hasApplicationDate() == other.hasApplicationDate());
- if (hasApplicationDate()) {
- result = result && getApplicationDate().equals(other.getApplicationDate());
- }
- result = result && getLastStage().equals(other.getLastStage());
- result = result && state_ == other.state_;
- result =
- result
- && (java.lang.Double.doubleToLongBits(getAverageInterviewScore())
- == java.lang.Double.doubleToLongBits(other.getAverageInterviewScore()));
- result = result && getInterviewScoreScaleId().equals(other.getInterviewScoreScaleId());
- result = result && (getNumberOfInterviews() == other.getNumberOfInterviews());
- result = result && (hasIsEmployeeReferred() == other.hasIsEmployeeReferred());
- if (hasIsEmployeeReferred()) {
- result = result && getIsEmployeeReferred().equals(other.getIsEmployeeReferred());
- }
- result = result && (hasUpdateTime() == other.hasUpdateTime());
- if (hasUpdateTime()) {
- result = result && getUpdateTime().equals(other.getUpdateTime());
- }
- result = result && getOutcomeReason().equals(other.getOutcomeReason());
- result =
- result
- && (java.lang.Double.doubleToLongBits(getOutcomePositiveness())
- == java.lang.Double.doubleToLongBits(other.getOutcomePositiveness()));
- result = result && (hasIsMatch() == other.hasIsMatch());
- if (hasIsMatch()) {
- result = result && getIsMatch().equals(other.getIsMatch());
- }
- result = result && getJobTitleSnippet().equals(other.getJobTitleSnippet());
- 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 (hasJob()) {
- hash = (37 * hash) + JOB_FIELD_NUMBER;
- hash = (53 * hash) + getJob().hashCode();
- }
- hash = (37 * hash) + APPLICATION_ID_FIELD_NUMBER;
- hash = (53 * hash) + getApplicationId().hashCode();
- if (hasApplicationDate()) {
- hash = (37 * hash) + APPLICATION_DATE_FIELD_NUMBER;
- hash = (53 * hash) + getApplicationDate().hashCode();
- }
- hash = (37 * hash) + LAST_STAGE_FIELD_NUMBER;
- hash = (53 * hash) + getLastStage().hashCode();
- hash = (37 * hash) + STATE_FIELD_NUMBER;
- hash = (53 * hash) + state_;
- hash = (37 * hash) + AVERAGE_INTERVIEW_SCORE_FIELD_NUMBER;
- hash =
- (53 * hash)
- + com.google.protobuf.Internal.hashLong(
- java.lang.Double.doubleToLongBits(getAverageInterviewScore()));
- hash = (37 * hash) + INTERVIEW_SCORE_SCALE_ID_FIELD_NUMBER;
- hash = (53 * hash) + getInterviewScoreScaleId().hashCode();
- hash = (37 * hash) + NUMBER_OF_INTERVIEWS_FIELD_NUMBER;
- hash = (53 * hash) + getNumberOfInterviews();
- if (hasIsEmployeeReferred()) {
- hash = (37 * hash) + IS_EMPLOYEE_REFERRED_FIELD_NUMBER;
- hash = (53 * hash) + getIsEmployeeReferred().hashCode();
- }
- if (hasUpdateTime()) {
- hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
- hash = (53 * hash) + getUpdateTime().hashCode();
- }
- hash = (37 * hash) + OUTCOME_REASON_FIELD_NUMBER;
- hash = (53 * hash) + getOutcomeReason().hashCode();
- hash = (37 * hash) + OUTCOME_POSITIVENESS_FIELD_NUMBER;
- hash =
- (53 * hash)
- + com.google.protobuf.Internal.hashLong(
- java.lang.Double.doubleToLongBits(getOutcomePositiveness()));
- if (hasIsMatch()) {
- hash = (37 * hash) + IS_MATCH_FIELD_NUMBER;
- hash = (53 * hash) + getIsMatch().hashCode();
- }
- hash = (37 * hash) + JOB_TITLE_SNIPPET_FIELD_NUMBER;
- hash = (53 * hash) + getJobTitleSnippet().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.talent.v4beta1.JobApplication parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.talent.v4beta1.JobApplication 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.JobApplication parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.talent.v4beta1.JobApplication parseFrom(
- com.google.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.JobApplication parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.talent.v4beta1.JobApplication 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.JobApplication parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.talent.v4beta1.JobApplication 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.JobApplication parseDelimitedFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.talent.v4beta1.JobApplication 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.JobApplication 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.JobApplication 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.JobApplication 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 job application record of a candidate. - *- * - * Protobuf type {@code google.cloud.talent.v4beta1.JobApplication} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
- * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- public boolean hasJob() {
- return jobBuilder_ != null || job_ != null;
- }
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- public com.google.cloud.talent.v4beta1.Job getJob() {
- if (jobBuilder_ == null) {
- return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_;
- } else {
- return jobBuilder_.getMessage();
- }
- }
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- public Builder setJob(com.google.cloud.talent.v4beta1.Job value) {
- if (jobBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- job_ = value;
- onChanged();
- } else {
- jobBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
- if (jobBuilder_ == null) {
- job_ = builderForValue.build();
- onChanged();
- } else {
- jobBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) {
- if (jobBuilder_ == null) {
- if (job_ != null) {
- job_ =
- com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial();
- } else {
- job_ = value;
- }
- onChanged();
- } else {
- jobBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- public Builder clearJob() {
- if (jobBuilder_ == null) {
- job_ = null;
- onChanged();
- } else {
- job_ = null;
- jobBuilder_ = null;
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() {
-
- onChanged();
- return getJobFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
- if (jobBuilder_ != null) {
- return jobBuilder_.getMessageOrBuilder();
- } else {
- return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_;
- }
- }
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.talent.v4beta1.Job,
- com.google.cloud.talent.v4beta1.Job.Builder,
- com.google.cloud.talent.v4beta1.JobOrBuilder>
- getJobFieldBuilder() {
- if (jobBuilder_ == null) {
- jobBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.talent.v4beta1.Job,
- com.google.cloud.talent.v4beta1.Job.Builder,
- com.google.cloud.talent.v4beta1.JobOrBuilder>(
- getJob(), getParentForChildren(), isClean());
- job_ = null;
- }
- return jobBuilder_;
- }
-
- private java.lang.Object applicationId_ = "";
- /**
- *
- *
- * - * Optional. - * The job application id. - * Number of characters allowed is 100. - *- * - *
string application_id = 2;
- */
- public java.lang.String getApplicationId() {
- java.lang.Object ref = applicationId_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- applicationId_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * Optional. - * The job application id. - * Number of characters allowed is 100. - *- * - *
string application_id = 2;
- */
- public com.google.protobuf.ByteString getApplicationIdBytes() {
- java.lang.Object ref = applicationId_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- applicationId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * Optional. - * The job application id. - * Number of characters allowed is 100. - *- * - *
string application_id = 2;
- */
- public Builder setApplicationId(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- applicationId_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The job application id. - * Number of characters allowed is 100. - *- * - *
string application_id = 2;
- */
- public Builder clearApplicationId() {
-
- applicationId_ = getDefaultInstance().getApplicationId();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The job application id. - * Number of characters allowed is 100. - *- * - *
string application_id = 2;
- */
- public Builder setApplicationIdBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- applicationId_ = value;
- onChanged();
- return this;
- }
-
- private com.google.type.Date applicationDate_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
- applicationDateBuilder_;
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- public boolean hasApplicationDate() {
- return applicationDateBuilder_ != null || applicationDate_ != null;
- }
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- public com.google.type.Date getApplicationDate() {
- if (applicationDateBuilder_ == null) {
- return applicationDate_ == null
- ? com.google.type.Date.getDefaultInstance()
- : applicationDate_;
- } else {
- return applicationDateBuilder_.getMessage();
- }
- }
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- public Builder setApplicationDate(com.google.type.Date value) {
- if (applicationDateBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- applicationDate_ = value;
- onChanged();
- } else {
- applicationDateBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- public Builder setApplicationDate(com.google.type.Date.Builder builderForValue) {
- if (applicationDateBuilder_ == null) {
- applicationDate_ = builderForValue.build();
- onChanged();
- } else {
- applicationDateBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- public Builder mergeApplicationDate(com.google.type.Date value) {
- if (applicationDateBuilder_ == null) {
- if (applicationDate_ != null) {
- applicationDate_ =
- com.google.type.Date.newBuilder(applicationDate_).mergeFrom(value).buildPartial();
- } else {
- applicationDate_ = value;
- }
- onChanged();
- } else {
- applicationDateBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- public Builder clearApplicationDate() {
- if (applicationDateBuilder_ == null) {
- applicationDate_ = null;
- onChanged();
- } else {
- applicationDate_ = null;
- applicationDateBuilder_ = null;
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- public com.google.type.Date.Builder getApplicationDateBuilder() {
-
- onChanged();
- return getApplicationDateFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- public com.google.type.DateOrBuilder getApplicationDateOrBuilder() {
- if (applicationDateBuilder_ != null) {
- return applicationDateBuilder_.getMessageOrBuilder();
- } else {
- return applicationDate_ == null
- ? com.google.type.Date.getDefaultInstance()
- : applicationDate_;
- }
- }
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
- getApplicationDateFieldBuilder() {
- if (applicationDateBuilder_ == null) {
- applicationDateBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
- getApplicationDate(), getParentForChildren(), isClean());
- applicationDate_ = null;
- }
- return applicationDateBuilder_;
- }
-
- private java.lang.Object lastStage_ = "";
- /**
- *
- *
- * - * Optional. - * The last stage the candidate reached in the application progress. - * For example, "new", "phone screen", "interview". - *- * - *
string last_stage = 4;
- */
- 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;
- }
- }
- /**
- *
- *
- * - * Optional. - * The last stage the candidate reached in the application progress. - * For example, "new", "phone screen", "interview". - *- * - *
string last_stage = 4;
- */
- 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;
- }
- }
- /**
- *
- *
- * - * Optional. - * The last stage the candidate reached in the application progress. - * For example, "new", "phone screen", "interview". - *- * - *
string last_stage = 4;
- */
- public Builder setLastStage(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- lastStage_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The last stage the candidate reached in the application progress. - * For example, "new", "phone screen", "interview". - *- * - *
string last_stage = 4;
- */
- public Builder clearLastStage() {
-
- lastStage_ = getDefaultInstance().getLastStage();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The last stage the candidate reached in the application progress. - * For example, "new", "phone screen", "interview". - *- * - *
string last_stage = 4;
- */
- public Builder setLastStageBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- lastStage_ = value;
- onChanged();
- return this;
- }
-
- private int state_ = 0;
- /**
- *
- *
- * - * Optional. - * The application state. - *- * - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus state = 5;
- */
- public int getStateValue() {
- return state_;
- }
- /**
- *
- *
- * - * Optional. - * The application state. - *- * - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus state = 5;
- */
- public Builder setStateValue(int value) {
- state_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The application state. - *- * - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus state = 5;
- */
- public com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus getState() {
- @SuppressWarnings("deprecation")
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus result =
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.valueOf(state_);
- return result == null
- ? com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus.UNRECOGNIZED
- : result;
- }
- /**
- *
- *
- * - * Optional. - * The application state. - *- * - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus state = 5;
- */
- public Builder setState(
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- state_ = value.getNumber();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The application state. - *- * - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus state = 5;
- */
- public Builder clearState() {
-
- state_ = 0;
- onChanged();
- return this;
- }
-
- private double averageInterviewScore_;
- /**
- *
- *
- * - * Optional. - * The average interview score. - *- * - *
double average_interview_score = 6;
- */
- public double getAverageInterviewScore() {
- return averageInterviewScore_;
- }
- /**
- *
- *
- * - * Optional. - * The average interview score. - *- * - *
double average_interview_score = 6;
- */
- public Builder setAverageInterviewScore(double value) {
-
- averageInterviewScore_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The average interview score. - *- * - *
double average_interview_score = 6;
- */
- public Builder clearAverageInterviewScore() {
-
- averageInterviewScore_ = 0D;
- onChanged();
- return this;
- }
-
- private java.lang.Object interviewScoreScaleId_ = "";
- /**
- *
- *
- * - * Optional. - * The scale id of the interview score. - * Number of characters allowed is 100. - *- * - *
string interview_score_scale_id = 7;
- */
- public java.lang.String getInterviewScoreScaleId() {
- java.lang.Object ref = interviewScoreScaleId_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- interviewScoreScaleId_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * Optional. - * The scale id of the interview score. - * Number of characters allowed is 100. - *- * - *
string interview_score_scale_id = 7;
- */
- public com.google.protobuf.ByteString getInterviewScoreScaleIdBytes() {
- java.lang.Object ref = interviewScoreScaleId_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- interviewScoreScaleId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * Optional. - * The scale id of the interview score. - * Number of characters allowed is 100. - *- * - *
string interview_score_scale_id = 7;
- */
- public Builder setInterviewScoreScaleId(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- interviewScoreScaleId_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The scale id of the interview score. - * Number of characters allowed is 100. - *- * - *
string interview_score_scale_id = 7;
- */
- public Builder clearInterviewScoreScaleId() {
-
- interviewScoreScaleId_ = getDefaultInstance().getInterviewScoreScaleId();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The scale id of the interview score. - * Number of characters allowed is 100. - *- * - *
string interview_score_scale_id = 7;
- */
- public Builder setInterviewScoreScaleIdBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- interviewScoreScaleId_ = value;
- onChanged();
- return this;
- }
-
- private int numberOfInterviews_;
- /**
- *
- *
- * - * Optional. - * The number of interviews. - *- * - *
int32 number_of_interviews = 8;
- */
- public int getNumberOfInterviews() {
- return numberOfInterviews_;
- }
- /**
- *
- *
- * - * Optional. - * The number of interviews. - *- * - *
int32 number_of_interviews = 8;
- */
- public Builder setNumberOfInterviews(int value) {
-
- numberOfInterviews_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The number of interviews. - *- * - *
int32 number_of_interviews = 8;
- */
- public Builder clearNumberOfInterviews() {
-
- numberOfInterviews_ = 0;
- onChanged();
- return this;
- }
-
- private com.google.protobuf.BoolValue isEmployeeReferred_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.BoolValue,
- com.google.protobuf.BoolValue.Builder,
- com.google.protobuf.BoolValueOrBuilder>
- isEmployeeReferredBuilder_;
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- public boolean hasIsEmployeeReferred() {
- return isEmployeeReferredBuilder_ != null || isEmployeeReferred_ != null;
- }
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- public com.google.protobuf.BoolValue getIsEmployeeReferred() {
- if (isEmployeeReferredBuilder_ == null) {
- return isEmployeeReferred_ == null
- ? com.google.protobuf.BoolValue.getDefaultInstance()
- : isEmployeeReferred_;
- } else {
- return isEmployeeReferredBuilder_.getMessage();
- }
- }
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- public Builder setIsEmployeeReferred(com.google.protobuf.BoolValue value) {
- if (isEmployeeReferredBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- isEmployeeReferred_ = value;
- onChanged();
- } else {
- isEmployeeReferredBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- public Builder setIsEmployeeReferred(com.google.protobuf.BoolValue.Builder builderForValue) {
- if (isEmployeeReferredBuilder_ == null) {
- isEmployeeReferred_ = builderForValue.build();
- onChanged();
- } else {
- isEmployeeReferredBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- public Builder mergeIsEmployeeReferred(com.google.protobuf.BoolValue value) {
- if (isEmployeeReferredBuilder_ == null) {
- if (isEmployeeReferred_ != null) {
- isEmployeeReferred_ =
- com.google.protobuf.BoolValue.newBuilder(isEmployeeReferred_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- isEmployeeReferred_ = value;
- }
- onChanged();
- } else {
- isEmployeeReferredBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- public Builder clearIsEmployeeReferred() {
- if (isEmployeeReferredBuilder_ == null) {
- isEmployeeReferred_ = null;
- onChanged();
- } else {
- isEmployeeReferred_ = null;
- isEmployeeReferredBuilder_ = null;
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- public com.google.protobuf.BoolValue.Builder getIsEmployeeReferredBuilder() {
-
- onChanged();
- return getIsEmployeeReferredFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- public com.google.protobuf.BoolValueOrBuilder getIsEmployeeReferredOrBuilder() {
- if (isEmployeeReferredBuilder_ != null) {
- return isEmployeeReferredBuilder_.getMessageOrBuilder();
- } else {
- return isEmployeeReferred_ == null
- ? com.google.protobuf.BoolValue.getDefaultInstance()
- : isEmployeeReferred_;
- }
- }
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.BoolValue,
- com.google.protobuf.BoolValue.Builder,
- com.google.protobuf.BoolValueOrBuilder>
- getIsEmployeeReferredFieldBuilder() {
- if (isEmployeeReferredBuilder_ == null) {
- isEmployeeReferredBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.BoolValue,
- com.google.protobuf.BoolValue.Builder,
- com.google.protobuf.BoolValueOrBuilder>(
- getIsEmployeeReferred(), getParentForChildren(), isClean());
- isEmployeeReferred_ = null;
- }
- return isEmployeeReferredBuilder_;
- }
-
- private com.google.protobuf.Timestamp updateTime_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.Timestamp,
- com.google.protobuf.Timestamp.Builder,
- com.google.protobuf.TimestampOrBuilder>
- updateTimeBuilder_;
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- public boolean hasUpdateTime() {
- return updateTimeBuilder_ != null || updateTime_ != null;
- }
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- public com.google.protobuf.Timestamp getUpdateTime() {
- if (updateTimeBuilder_ == null) {
- return updateTime_ == null
- ? com.google.protobuf.Timestamp.getDefaultInstance()
- : updateTime_;
- } else {
- return updateTimeBuilder_.getMessage();
- }
- }
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
- if (updateTimeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- updateTime_ = value;
- onChanged();
- } else {
- updateTimeBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
- if (updateTimeBuilder_ == null) {
- updateTime_ = builderForValue.build();
- onChanged();
- } else {
- updateTimeBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
- if (updateTimeBuilder_ == null) {
- if (updateTime_ != null) {
- updateTime_ =
- com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
- } else {
- updateTime_ = value;
- }
- onChanged();
- } else {
- updateTimeBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- public Builder clearUpdateTime() {
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- onChanged();
- } else {
- updateTime_ = null;
- updateTimeBuilder_ = null;
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
- onChanged();
- return getUpdateTimeFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- if (updateTimeBuilder_ != null) {
- return updateTimeBuilder_.getMessageOrBuilder();
- } else {
- return updateTime_ == null
- ? com.google.protobuf.Timestamp.getDefaultInstance()
- : updateTime_;
- }
- }
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.Timestamp,
- com.google.protobuf.Timestamp.Builder,
- com.google.protobuf.TimestampOrBuilder>
- getUpdateTimeFieldBuilder() {
- if (updateTimeBuilder_ == null) {
- updateTimeBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.Timestamp,
- com.google.protobuf.Timestamp.Builder,
- com.google.protobuf.TimestampOrBuilder>(
- getUpdateTime(), getParentForChildren(), isClean());
- updateTime_ = null;
- }
- return updateTimeBuilder_;
- }
-
- private java.lang.Object outcomeReason_ = "";
- /**
- *
- *
- * - * Optional. - * The outcome reason for the job application. - * Number of characters allowed is 100. - *- * - *
string outcome_reason = 11;
- */
- 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;
- }
- }
- /**
- *
- *
- * - * Optional. - * The outcome reason for the job application. - * Number of characters allowed is 100. - *- * - *
string outcome_reason = 11;
- */
- 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;
- }
- }
- /**
- *
- *
- * - * Optional. - * The outcome reason for the job application. - * Number of characters allowed is 100. - *- * - *
string outcome_reason = 11;
- */
- public Builder setOutcomeReason(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- outcomeReason_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The outcome reason for the job application. - * Number of characters allowed is 100. - *- * - *
string outcome_reason = 11;
- */
- public Builder clearOutcomeReason() {
-
- outcomeReason_ = getDefaultInstance().getOutcomeReason();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The outcome reason for the job application. - * Number of characters allowed is 100. - *- * - *
string outcome_reason = 11;
- */
- public Builder setOutcomeReasonBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- outcomeReason_ = value;
- onChanged();
- return this;
- }
-
- private double outcomePositiveness_;
- /**
- *
- *
- * - * Optional. - * Outcome positiveness shows how positive the outcome is. - * Currently only -1, 0 and 1 are accepted, where -1 means not positive, 0 - * means neutral and 1 means positive. An error is thrown if other value is - * set. - *- * - *
double outcome_positiveness = 12;
- */
- public double getOutcomePositiveness() {
- return outcomePositiveness_;
- }
- /**
- *
- *
- * - * Optional. - * Outcome positiveness shows how positive the outcome is. - * Currently only -1, 0 and 1 are accepted, where -1 means not positive, 0 - * means neutral and 1 means positive. An error is thrown if other value is - * set. - *- * - *
double outcome_positiveness = 12;
- */
- public Builder setOutcomePositiveness(double value) {
-
- outcomePositiveness_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * Outcome positiveness shows how positive the outcome is. - * Currently only -1, 0 and 1 are accepted, where -1 means not positive, 0 - * means neutral and 1 means positive. An error is thrown if other value is - * set. - *- * - *
double outcome_positiveness = 12;
- */
- public Builder clearOutcomePositiveness() {
-
- outcomePositiveness_ = 0D;
- onChanged();
- return this;
- }
-
- private com.google.protobuf.BoolValue isMatch_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.BoolValue,
- com.google.protobuf.BoolValue.Builder,
- com.google.protobuf.BoolValueOrBuilder>
- isMatchBuilder_;
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- public boolean hasIsMatch() {
- return isMatchBuilder_ != null || isMatch_ != null;
- }
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- public com.google.protobuf.BoolValue getIsMatch() {
- if (isMatchBuilder_ == null) {
- return isMatch_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isMatch_;
- } else {
- return isMatchBuilder_.getMessage();
- }
- }
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- public Builder setIsMatch(com.google.protobuf.BoolValue value) {
- if (isMatchBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- isMatch_ = value;
- onChanged();
- } else {
- isMatchBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- public Builder setIsMatch(com.google.protobuf.BoolValue.Builder builderForValue) {
- if (isMatchBuilder_ == null) {
- isMatch_ = builderForValue.build();
- onChanged();
- } else {
- isMatchBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- public Builder mergeIsMatch(com.google.protobuf.BoolValue value) {
- if (isMatchBuilder_ == null) {
- if (isMatch_ != null) {
- isMatch_ =
- com.google.protobuf.BoolValue.newBuilder(isMatch_).mergeFrom(value).buildPartial();
- } else {
- isMatch_ = value;
- }
- onChanged();
- } else {
- isMatchBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- public Builder clearIsMatch() {
- if (isMatchBuilder_ == null) {
- isMatch_ = null;
- onChanged();
- } else {
- isMatch_ = null;
- isMatchBuilder_ = null;
- }
-
- return this;
- }
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- public com.google.protobuf.BoolValue.Builder getIsMatchBuilder() {
-
- onChanged();
- return getIsMatchFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- public com.google.protobuf.BoolValueOrBuilder getIsMatchOrBuilder() {
- if (isMatchBuilder_ != null) {
- return isMatchBuilder_.getMessageOrBuilder();
- } else {
- return isMatch_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isMatch_;
- }
- }
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.BoolValue,
- com.google.protobuf.BoolValue.Builder,
- com.google.protobuf.BoolValueOrBuilder>
- getIsMatchFieldBuilder() {
- if (isMatchBuilder_ == null) {
- isMatchBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.BoolValue,
- com.google.protobuf.BoolValue.Builder,
- com.google.protobuf.BoolValueOrBuilder>(
- getIsMatch(), getParentForChildren(), isClean());
- isMatch_ = null;
- }
- return isMatchBuilder_;
- }
-
- private java.lang.Object jobTitleSnippet_ = "";
- /**
- *
- *
- * - * Output only. Job title snippet shows how the job title is related to a - * search query. It's empty if the job title isn't related to the search - * query. - *- * - *
string job_title_snippet = 14;
- */
- public java.lang.String getJobTitleSnippet() {
- java.lang.Object ref = jobTitleSnippet_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- jobTitleSnippet_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * Output only. Job title snippet shows how the job title is related to a - * search query. It's empty if the job title isn't related to the search - * query. - *- * - *
string job_title_snippet = 14;
- */
- public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
- java.lang.Object ref = jobTitleSnippet_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- jobTitleSnippet_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * Output only. Job title snippet shows how the job title is related to a - * search query. It's empty if the job title isn't related to the search - * query. - *- * - *
string job_title_snippet = 14;
- */
- public Builder setJobTitleSnippet(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- jobTitleSnippet_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Output only. Job title snippet shows how the job title is related to a - * search query. It's empty if the job title isn't related to the search - * query. - *- * - *
string job_title_snippet = 14;
- */
- public Builder clearJobTitleSnippet() {
-
- jobTitleSnippet_ = getDefaultInstance().getJobTitleSnippet();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Output only. Job title snippet shows how the job title is related to a - * search query. It's empty if the job title isn't related to the search - * query. - *- * - *
string job_title_snippet = 14;
- */
- public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- jobTitleSnippet_ = 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.JobApplication)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobApplication)
- private static final com.google.cloud.talent.v4beta1.JobApplication DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobApplication();
- }
-
- public static com.google.cloud.talent.v4beta1.JobApplication getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- boolean hasJob();
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- com.google.cloud.talent.v4beta1.Job getJob();
- /**
- *
- *
- * - * Optional. - * The information of job which the candidate applied for. - * If [Job.name][google.cloud.talent.v4beta1.Job.name] is provided, the - * corresponding [Job][google.cloud.talent.v4beta1.Job] must be created. - * Otherwise, only - * [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - * [Job.title][google.cloud.talent.v4beta1.Job.title], - * [Job.description][google.cloud.talent.v4beta1.Job.description] and - * [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] provided here - * are persisted in the application. No [Job][google.cloud.talent.v4beta1.Job] - * entity is created in this case. - *- * - *
.google.cloud.talent.v4beta1.Job job = 1;
- */
- com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder();
-
- /**
- *
- *
- * - * Optional. - * The job application id. - * Number of characters allowed is 100. - *- * - *
string application_id = 2;
- */
- java.lang.String getApplicationId();
- /**
- *
- *
- * - * Optional. - * The job application id. - * Number of characters allowed is 100. - *- * - *
string application_id = 2;
- */
- com.google.protobuf.ByteString getApplicationIdBytes();
-
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- boolean hasApplicationDate();
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- com.google.type.Date getApplicationDate();
- /**
- *
- *
- * - * Optional. - * The application date. - *- * - *
.google.type.Date application_date = 3;
- */
- com.google.type.DateOrBuilder getApplicationDateOrBuilder();
-
- /**
- *
- *
- * - * Optional. - * The last stage the candidate reached in the application progress. - * For example, "new", "phone screen", "interview". - *- * - *
string last_stage = 4;
- */
- java.lang.String getLastStage();
- /**
- *
- *
- * - * Optional. - * The last stage the candidate reached in the application progress. - * For example, "new", "phone screen", "interview". - *- * - *
string last_stage = 4;
- */
- com.google.protobuf.ByteString getLastStageBytes();
-
- /**
- *
- *
- * - * Optional. - * The application state. - *- * - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus state = 5;
- */
- int getStateValue();
- /**
- *
- *
- * - * Optional. - * The application state. - *- * - *
.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus state = 5;
- */
- com.google.cloud.talent.v4beta1.JobApplication.ApplicationStatus getState();
-
- /**
- *
- *
- * - * Optional. - * The average interview score. - *- * - *
double average_interview_score = 6;
- */
- double getAverageInterviewScore();
-
- /**
- *
- *
- * - * Optional. - * The scale id of the interview score. - * Number of characters allowed is 100. - *- * - *
string interview_score_scale_id = 7;
- */
- java.lang.String getInterviewScoreScaleId();
- /**
- *
- *
- * - * Optional. - * The scale id of the interview score. - * Number of characters allowed is 100. - *- * - *
string interview_score_scale_id = 7;
- */
- com.google.protobuf.ByteString getInterviewScoreScaleIdBytes();
-
- /**
- *
- *
- * - * Optional. - * The number of interviews. - *- * - *
int32 number_of_interviews = 8;
- */
- int getNumberOfInterviews();
-
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- boolean hasIsEmployeeReferred();
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- com.google.protobuf.BoolValue getIsEmployeeReferred();
- /**
- *
- *
- * - * Optional. - * If the candidate is referred by a employee. - *- * - *
.google.protobuf.BoolValue is_employee_referred = 9;
- */
- com.google.protobuf.BoolValueOrBuilder getIsEmployeeReferredOrBuilder();
-
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- boolean hasUpdateTime();
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- com.google.protobuf.Timestamp getUpdateTime();
- /**
- *
- *
- * - * Optional. - * The last update timestamp. - *- * - *
.google.protobuf.Timestamp update_time = 10;
- */
- com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
-
- /**
- *
- *
- * - * Optional. - * The outcome reason for the job application. - * Number of characters allowed is 100. - *- * - *
string outcome_reason = 11;
- */
- java.lang.String getOutcomeReason();
- /**
- *
- *
- * - * Optional. - * The outcome reason for the job application. - * Number of characters allowed is 100. - *- * - *
string outcome_reason = 11;
- */
- com.google.protobuf.ByteString getOutcomeReasonBytes();
-
- /**
- *
- *
- * - * Optional. - * Outcome positiveness shows how positive the outcome is. - * Currently only -1, 0 and 1 are accepted, where -1 means not positive, 0 - * means neutral and 1 means positive. An error is thrown if other value is - * set. - *- * - *
double outcome_positiveness = 12;
- */
- double getOutcomePositiveness();
-
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- boolean hasIsMatch();
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- com.google.protobuf.BoolValue getIsMatch();
- /**
- *
- *
- * - * Output only. Indicates whether this job application is a match to - * application related filters. This value is only applicable in profile - * search response. - *- * - *
.google.protobuf.BoolValue is_match = 13;
- */
- com.google.protobuf.BoolValueOrBuilder getIsMatchOrBuilder();
-
- /**
- *
- *
- * - * Output only. Job title snippet shows how the job title is related to a - * search query. It's empty if the job title isn't related to the search - * query. - *- * - *
string job_title_snippet = 14;
- */
- java.lang.String getJobTitleSnippet();
- /**
- *
- *
- * - * Output only. Job title snippet shows how the job title is related to a - * search query. It's empty if the job title isn't related to the search - * query. - *- * - *
string job_title_snippet = 14;
- */
- com.google.protobuf.ByteString getJobTitleSnippetBytes();
-}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java
index 5bf3fec9adf1..293ffa8f7497 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java
@@ -14,167 +14,10 @@
package com.google.cloud.talent.v4beta1;
-import com.google.api.pathtemplate.PathTemplate;
import com.google.api.resourcenames.ResourceName;
-import com.google.common.base.Preconditions;
-import com.google.common.collect.ImmutableMap;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
// AUTO-GENERATED DOCUMENTATION AND CLASS
@javax.annotation.Generated("by GAPIC protoc plugin")
-public class JobName implements ResourceName {
-
- private static final PathTemplate PATH_TEMPLATE =
- PathTemplate.createWithoutUrlEncoding("projects/{project}/jobs/{jobs}");
-
- private volatile Map* Required. - * The resource name of the company listing the job, such as - * "projects/api-test-project/companies/foo". + * The resource name of the company listing the job. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 2;
+ * string company = 2;
*/
- java.lang.String getCompanyName();
+ java.lang.String getCompany();
/**
*
*
* * Required. - * The resource name of the company listing the job, such as - * "projects/api-test-project/companies/foo". + * The resource name of the company listing the job. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for + * example, "projects/api-test-project/tenants/foo/companies/bar". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project/companies/bar". ** - *
string company_name = 2;
+ * string company = 2;
*/
- com.google.protobuf.ByteString getCompanyNameBytes();
+ com.google.protobuf.ByteString getCompanyBytes();
/**
*
@@ -371,7 +385,8 @@ public interface JobOrBuilder
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -382,7 +397,8 @@ public interface JobOrBuilder
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -393,7 +409,8 @@ public interface JobOrBuilder
*
* * Optional. - * Job compensation information. + * Job compensation information (a.k.a. "pay rate") i.e., the compensation + * that will paid to the employee. ** *
.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
@@ -1036,8 +1053,7 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -1075,8 +1091,7 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
@@ -1114,8 +1129,7 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
* updated with the [UpdateJob][] API. An expired job can be updated and
* opened again by using a future expiration timestamp. Updating an expired
* job fails if there is another existing open job with same
- * [company][google.cloud.talent.v4beta1.Job.name][],
- * [language_code][google.cloud.talent.v4beta1.Job.language_code] and
+ * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
* [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
* The expired jobs are retained in our system for 90 days. However, the
* overall expired job count cannot exceed 3 times the maximum of open jobs
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java
index bbe1abacaa37..dde0157b5457 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java
@@ -25,7 +25,7 @@ private JobQuery(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private JobQuery() {
query_ = "";
- companyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ companies_ = com.google.protobuf.LazyStringArrayList.EMPTY;
locationFilters_ = java.util.Collections.emptyList();
jobCategories_ = java.util.Collections.emptyList();
companyDisplayNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -71,10 +71,10 @@ private JobQuery(
{
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- companyNames_ = new com.google.protobuf.LazyStringArrayList();
+ companies_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
- companyNames_.add(s);
+ companies_.add(s);
break;
}
case 26:
@@ -245,7 +245,7 @@ private JobQuery(
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- companyNames_ = companyNames_.getUnmodifiableView();
+ companies_ = companies_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
locationFilters_ = java.util.Collections.unmodifiableList(locationFilters_);
@@ -335,8 +335,8 @@ public com.google.protobuf.ByteString getQueryBytes() {
}
}
- public static final int COMPANY_NAMES_FIELD_NUMBER = 2;
- private com.google.protobuf.LazyStringList companyNames_;
+ public static final int COMPANIES_FIELD_NUMBER = 2;
+ private com.google.protobuf.LazyStringList companies_;
/**
*
*
@@ -347,15 +347,18 @@ public com.google.protobuf.ByteString getQueryBytes() {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public com.google.protobuf.ProtocolStringList getCompanyNamesList() {
- return companyNames_;
+ public com.google.protobuf.ProtocolStringList getCompaniesList() {
+ return companies_;
}
/**
*
@@ -367,15 +370,18 @@ public com.google.protobuf.ProtocolStringList getCompanyNamesList() {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public int getCompanyNamesCount() {
- return companyNames_.size();
+ public int getCompaniesCount() {
+ return companies_.size();
}
/**
*
@@ -387,15 +393,18 @@ public int getCompanyNamesCount() {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public java.lang.String getCompanyNames(int index) {
- return companyNames_.get(index);
+ public java.lang.String getCompanies(int index) {
+ return companies_.get(index);
}
/**
*
@@ -407,15 +416,18 @@ public java.lang.String getCompanyNames(int index) {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public com.google.protobuf.ByteString getCompanyNamesBytes(int index) {
- return companyNames_.getByteString(index);
+ public com.google.protobuf.ByteString getCompaniesBytes(int index) {
+ return companies_.getByteString(index);
}
public static final int LOCATION_FILTERS_FIELD_NUMBER = 3;
@@ -1257,8 +1269,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!getQueryBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_);
}
- for (int i = 0; i < companyNames_.size(); i++) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, companyNames_.getRaw(i));
+ for (int i = 0; i < companies_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, companies_.getRaw(i));
}
for (int i = 0; i < locationFilters_.size(); i++) {
output.writeMessage(3, locationFilters_.get(i));
@@ -1315,11 +1327,11 @@ public int getSerializedSize() {
}
{
int dataSize = 0;
- for (int i = 0; i < companyNames_.size(); i++) {
- dataSize += computeStringSizeNoTag(companyNames_.getRaw(i));
+ for (int i = 0; i < companies_.size(); i++) {
+ dataSize += computeStringSizeNoTag(companies_.getRaw(i));
}
size += dataSize;
- size += 1 * getCompanyNamesList().size();
+ size += 1 * getCompaniesList().size();
}
for (int i = 0; i < locationFilters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, locationFilters_.get(i));
@@ -1406,7 +1418,7 @@ public boolean equals(final java.lang.Object obj) {
boolean result = true;
result = result && getQuery().equals(other.getQuery());
- result = result && getCompanyNamesList().equals(other.getCompanyNamesList());
+ result = result && getCompaniesList().equals(other.getCompaniesList());
result = result && getLocationFiltersList().equals(other.getLocationFiltersList());
result = result && jobCategories_.equals(other.jobCategories_);
result = result && (hasCommuteFilter() == other.hasCommuteFilter());
@@ -1440,9 +1452,9 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + QUERY_FIELD_NUMBER;
hash = (53 * hash) + getQuery().hashCode();
- if (getCompanyNamesCount() > 0) {
- hash = (37 * hash) + COMPANY_NAMES_FIELD_NUMBER;
- hash = (53 * hash) + getCompanyNamesList().hashCode();
+ if (getCompaniesCount() > 0) {
+ hash = (37 * hash) + COMPANIES_FIELD_NUMBER;
+ hash = (53 * hash) + getCompaniesList().hashCode();
}
if (getLocationFiltersCount() > 0) {
hash = (37 * hash) + LOCATION_FILTERS_FIELD_NUMBER;
@@ -1634,7 +1646,7 @@ public Builder clear() {
super.clear();
query_ = "";
- companyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ companies_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
if (locationFiltersBuilder_ == null) {
locationFilters_ = java.util.Collections.emptyList();
@@ -1705,10 +1717,10 @@ public com.google.cloud.talent.v4beta1.JobQuery buildPartial() {
int to_bitField0_ = 0;
result.query_ = query_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
- companyNames_ = companyNames_.getUnmodifiableView();
+ companies_ = companies_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
- result.companyNames_ = companyNames_;
+ result.companies_ = companies_;
if (locationFiltersBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
locationFilters_ = java.util.Collections.unmodifiableList(locationFilters_);
@@ -1814,13 +1826,13 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobQuery other) {
query_ = other.query_;
onChanged();
}
- if (!other.companyNames_.isEmpty()) {
- if (companyNames_.isEmpty()) {
- companyNames_ = other.companyNames_;
+ if (!other.companies_.isEmpty()) {
+ if (companies_.isEmpty()) {
+ companies_ = other.companies_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
- ensureCompanyNamesIsMutable();
- companyNames_.addAll(other.companyNames_);
+ ensureCompaniesIsMutable();
+ companies_.addAll(other.companies_);
}
onChanged();
}
@@ -2057,12 +2069,12 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
return this;
}
- private com.google.protobuf.LazyStringList companyNames_ =
+ private com.google.protobuf.LazyStringList companies_ =
com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureCompanyNamesIsMutable() {
+ private void ensureCompaniesIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
- companyNames_ = new com.google.protobuf.LazyStringArrayList(companyNames_);
+ companies_ = new com.google.protobuf.LazyStringArrayList(companies_);
bitField0_ |= 0x00000002;
}
}
@@ -2076,15 +2088,18 @@ private void ensureCompanyNamesIsMutable() {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public com.google.protobuf.ProtocolStringList getCompanyNamesList() {
- return companyNames_.getUnmodifiableView();
+ public com.google.protobuf.ProtocolStringList getCompaniesList() {
+ return companies_.getUnmodifiableView();
}
/**
*
@@ -2096,15 +2111,18 @@ public com.google.protobuf.ProtocolStringList getCompanyNamesList() {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public int getCompanyNamesCount() {
- return companyNames_.size();
+ public int getCompaniesCount() {
+ return companies_.size();
}
/**
*
@@ -2116,15 +2134,18 @@ public int getCompanyNamesCount() {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public java.lang.String getCompanyNames(int index) {
- return companyNames_.get(index);
+ public java.lang.String getCompanies(int index) {
+ return companies_.get(index);
}
/**
*
@@ -2136,15 +2157,18 @@ public java.lang.String getCompanyNames(int index) {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public com.google.protobuf.ByteString getCompanyNamesBytes(int index) {
- return companyNames_.getByteString(index);
+ public com.google.protobuf.ByteString getCompaniesBytes(int index) {
+ return companies_.getByteString(index);
}
/**
*
@@ -2156,19 +2180,22 @@ public com.google.protobuf.ByteString getCompanyNamesBytes(int index) {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public Builder setCompanyNames(int index, java.lang.String value) {
+ public Builder setCompanies(int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- ensureCompanyNamesIsMutable();
- companyNames_.set(index, value);
+ ensureCompaniesIsMutable();
+ companies_.set(index, value);
onChanged();
return this;
}
@@ -2182,19 +2209,22 @@ public Builder setCompanyNames(int index, java.lang.String value) {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public Builder addCompanyNames(java.lang.String value) {
+ public Builder addCompanies(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- ensureCompanyNamesIsMutable();
- companyNames_.add(value);
+ ensureCompaniesIsMutable();
+ companies_.add(value);
onChanged();
return this;
}
@@ -2208,16 +2238,19 @@ public Builder addCompanyNames(java.lang.String value) {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public Builder addAllCompanyNames(java.lang.Iterablerepeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public Builder clearCompanyNames() {
- companyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ public Builder clearCompanies() {
+ companies_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
@@ -2254,20 +2290,23 @@ public Builder clearCompanyNames() {
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- public Builder addCompanyNamesBytes(com.google.protobuf.ByteString value) {
+ public Builder addCompaniesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- ensureCompanyNamesIsMutable();
- companyNames_.add(value);
+ ensureCompaniesIsMutable();
+ companies_.add(value);
onChanged();
return this;
}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java
index a087101e8b33..839f0b8e5215 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java
@@ -45,14 +45,17 @@ public interface JobQueryOrBuilder
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- java.util.Listrepeated string company_names = 2;
+ * repeated string companies = 2;
*/
- int getCompanyNamesCount();
+ int getCompaniesCount();
/**
*
*
@@ -81,14 +87,17 @@ public interface JobQueryOrBuilder
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- java.lang.String getCompanyNames(int index);
+ java.lang.String getCompanies(int index);
/**
*
*
@@ -99,14 +108,17 @@ public interface JobQueryOrBuilder
* companies.
* If multiple values are specified, jobs are searched against the
* companies specified.
- * The format is "projects/{project_id}/companies/{company_id}", for example,
- * "projects/api-test-project/companies/foo".
+ * The format is
+ * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+ * example, "projects/api-test-project/tenants/foo/companies/bar".
+ * Tenant id is optional and the default tenant is used if unspecified, for
+ * example, "projects/api-test-project/companies/bar".
* At most 20 company filters are allowed.
*
*
- * repeated string company_names = 2;
+ * repeated string companies = 2;
*/
- com.google.protobuf.ByteString getCompanyNamesBytes(int index);
+ com.google.protobuf.ByteString getCompaniesBytes(int index);
/**
*
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java
index 5c503c1d3997..94cd1d406fb8 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java
@@ -45,56 +45,57 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\033google.cloud.talent.v4beta1\032\034google/api"
+ "/annotations.proto\032(google/cloud/talent/"
+ "v4beta1/common.proto\032\037google/protobuf/ti"
- + "mestamp.proto\"\254\016\n\003Job\022\014\n\004name\030\001 \001(\t\022\024\n\014c"
- + "ompany_name\030\002 \001(\t\022\026\n\016requisition_id\030\003 \001("
- + "\t\022\r\n\005title\030\004 \001(\t\022\023\n\013description\030\005 \001(\t\022\021\n"
- + "\taddresses\030\006 \003(\t\022J\n\020application_info\030\007 \001"
- + "(\01320.google.cloud.talent.v4beta1.Job.App"
- + "licationInfo\022=\n\014job_benefits\030\010 \003(\0162\'.goo"
- + "gle.cloud.talent.v4beta1.JobBenefit\022H\n\021c"
- + "ompensation_info\030\t \001(\0132-.google.cloud.ta"
- + "lent.v4beta1.CompensationInfo\022Q\n\021custom_"
- + "attributes\030\n \003(\01326.google.cloud.talent.v"
- + "4beta1.Job.CustomAttributesEntry\022=\n\014degr"
- + "ee_types\030\013 \003(\0162\'.google.cloud.talent.v4b"
- + "eta1.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022E\n\020e"
- + "mployment_types\030\r \003(\0162+.google.cloud.tal"
- + "ent.v4beta1.EmploymentType\022\022\n\nincentives"
- + "\030\016 \001(\t\022\025\n\rlanguage_code\030\017 \001(\t\0228\n\tjob_lev"
- + "el\030\020 \001(\0162%.google.cloud.talent.v4beta1.J"
- + "obLevel\022\027\n\017promotion_value\030\021 \001(\005\022\026\n\016qual"
- + "ifications\030\022 \001(\t\022\030\n\020responsibilities\030\023 \001"
- + "(\t\022B\n\016posting_region\030\024 \001(\0162*.google.clou"
- + "d.talent.v4beta1.PostingRegion\022;\n\nvisibi"
- + "lity\030\025 \001(\0162\'.google.cloud.talent.v4beta1"
- + ".Visibility\0222\n\016job_start_time\030\026 \001(\0132\032.go"
- + "ogle.protobuf.Timestamp\0220\n\014job_end_time\030"
- + "\027 \001(\0132\032.google.protobuf.Timestamp\0228\n\024pos"
- + "ting_publish_time\030\030 \001(\0132\032.google.protobu"
- + "f.Timestamp\0227\n\023posting_expire_time\030\031 \001(\013"
- + "2\032.google.protobuf.Timestamp\0227\n\023posting_"
- + "create_time\030\032 \001(\0132\032.google.protobuf.Time"
- + "stamp\0227\n\023posting_update_time\030\033 \001(\0132\032.goo"
- + "gle.protobuf.Timestamp\022\034\n\024company_displa"
- + "y_name\030\034 \001(\t\022B\n\014derived_info\030\035 \001(\0132,.goo"
- + "gle.cloud.talent.v4beta1.Job.DerivedInfo"
- + "\022N\n\022processing_options\030\036 \001(\01322.google.cl"
- + "oud.talent.v4beta1.Job.ProcessingOptions"
- + "\032D\n\017ApplicationInfo\022\016\n\006emails\030\001 \003(\t\022\023\n\013i"
- + "nstruction\030\002 \001(\t\022\014\n\004uris\030\003 \003(\t\032\211\001\n\013Deriv"
- + "edInfo\0228\n\tlocations\030\001 \003(\0132%.google.cloud"
- + ".talent.v4beta1.Location\022@\n\016job_categori"
- + "es\030\003 \003(\0162(.google.cloud.talent.v4beta1.J"
- + "obCategory\032\210\001\n\021ProcessingOptions\022)\n!disa"
- + "ble_street_address_resolution\030\001 \001(\010\022H\n\021h"
- + "tml_sanitization\030\002 \001(\0162-.google.cloud.ta"
- + "lent.v4beta1.HtmlSanitization\032e\n\025CustomA"
- + "ttributesEntry\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001"
- + "(\0132,.google.cloud.talent.v4beta1.CustomA"
- + "ttribute:\0028\001B~\n\037com.google.cloud.talent."
- + "v4beta1B\020JobResourceProtoP\001ZAgoogle.gola"
- + "ng.org/genproto/googleapis/cloud/talent/"
- + "v4beta1;talent\242\002\003CTSb\006proto3"
+ + "mestamp.proto\032\036google/protobuf/wrappers."
+ + "proto\"\247\016\n\003Job\022\014\n\004name\030\001 \001(\t\022\017\n\007company\030\002"
+ + " \001(\t\022\026\n\016requisition_id\030\003 \001(\t\022\r\n\005title\030\004 "
+ + "\001(\t\022\023\n\013description\030\005 \001(\t\022\021\n\taddresses\030\006 "
+ + "\003(\t\022J\n\020application_info\030\007 \001(\01320.google.c"
+ + "loud.talent.v4beta1.Job.ApplicationInfo\022"
+ + "=\n\014job_benefits\030\010 \003(\0162\'.google.cloud.tal"
+ + "ent.v4beta1.JobBenefit\022H\n\021compensation_i"
+ + "nfo\030\t \001(\0132-.google.cloud.talent.v4beta1."
+ + "CompensationInfo\022Q\n\021custom_attributes\030\n "
+ + "\003(\01326.google.cloud.talent.v4beta1.Job.Cu"
+ + "stomAttributesEntry\022=\n\014degree_types\030\013 \003("
+ + "\0162\'.google.cloud.talent.v4beta1.DegreeTy"
+ + "pe\022\022\n\ndepartment\030\014 \001(\t\022E\n\020employment_typ"
+ + "es\030\r \003(\0162+.google.cloud.talent.v4beta1.E"
+ + "mploymentType\022\022\n\nincentives\030\016 \001(\t\022\025\n\rlan"
+ + "guage_code\030\017 \001(\t\0228\n\tjob_level\030\020 \001(\0162%.go"
+ + "ogle.cloud.talent.v4beta1.JobLevel\022\027\n\017pr"
+ + "omotion_value\030\021 \001(\005\022\026\n\016qualifications\030\022 "
+ + "\001(\t\022\030\n\020responsibilities\030\023 \001(\t\022B\n\016posting"
+ + "_region\030\024 \001(\0162*.google.cloud.talent.v4be"
+ + "ta1.PostingRegion\022;\n\nvisibility\030\025 \001(\0162\'."
+ + "google.cloud.talent.v4beta1.Visibility\0222"
+ + "\n\016job_start_time\030\026 \001(\0132\032.google.protobuf"
+ + ".Timestamp\0220\n\014job_end_time\030\027 \001(\0132\032.googl"
+ + "e.protobuf.Timestamp\0228\n\024posting_publish_"
+ + "time\030\030 \001(\0132\032.google.protobuf.Timestamp\0227"
+ + "\n\023posting_expire_time\030\031 \001(\0132\032.google.pro"
+ + "tobuf.Timestamp\0227\n\023posting_create_time\030\032"
+ + " \001(\0132\032.google.protobuf.Timestamp\0227\n\023post"
+ + "ing_update_time\030\033 \001(\0132\032.google.protobuf."
+ + "Timestamp\022\034\n\024company_display_name\030\034 \001(\t\022"
+ + "B\n\014derived_info\030\035 \001(\0132,.google.cloud.tal"
+ + "ent.v4beta1.Job.DerivedInfo\022N\n\022processin"
+ + "g_options\030\036 \001(\01322.google.cloud.talent.v4"
+ + "beta1.Job.ProcessingOptions\032D\n\017Applicati"
+ + "onInfo\022\016\n\006emails\030\001 \003(\t\022\023\n\013instruction\030\002 "
+ + "\001(\t\022\014\n\004uris\030\003 \003(\t\032\211\001\n\013DerivedInfo\0228\n\tloc"
+ + "ations\030\001 \003(\0132%.google.cloud.talent.v4bet"
+ + "a1.Location\022@\n\016job_categories\030\003 \003(\0162(.go"
+ + "ogle.cloud.talent.v4beta1.JobCategory\032\210\001"
+ + "\n\021ProcessingOptions\022)\n!disable_street_ad"
+ + "dress_resolution\030\001 \001(\010\022H\n\021html_sanitizat"
+ + "ion\030\002 \001(\0162-.google.cloud.talent.v4beta1."
+ + "HtmlSanitization\032e\n\025CustomAttributesEntr"
+ + "y\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.c"
+ + "loud.talent.v4beta1.CustomAttribute:\0028\001B"
+ + "~\n\037com.google.cloud.talent.v4beta1B\020JobR"
+ + "esourceProtoP\001ZAgoogle.golang.org/genpro"
+ + "to/googleapis/cloud/talent/v4beta1;talen"
+ + "t\242\002\003CTSb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -110,6 +111,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.api.AnnotationsProto.getDescriptor(),
com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
+ com.google.protobuf.WrappersProto.getDescriptor(),
},
assigner);
internal_static_google_cloud_talent_v4beta1_Job_descriptor =
@@ -119,7 +121,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
internal_static_google_cloud_talent_v4beta1_Job_descriptor,
new java.lang.String[] {
"Name",
- "CompanyName",
+ "Company",
"RequisitionId",
"Title",
"Description",
@@ -184,6 +186,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.api.AnnotationsProto.getDescriptor();
com.google.cloud.talent.v4beta1.CommonProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
+ com.google.protobuf.WrappersProto.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/JobServiceProto.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java
index 73488e373bf5..578d808c1a98 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java
@@ -150,40 +150,51 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "n*v\n\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000\022\024"
+ "\n\020JOB_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIMAL"
+ "\020\002\022\022\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FULL\020"
- + "\0042\267\t\n\nJobService\022\212\001\n\tCreateJob\022-.google."
+ + "\0042\342\014\n\nJobService\022\274\001\n\tCreateJob\022-.google."
+ "cloud.talent.v4beta1.CreateJobRequest\032 ."
- + "google.cloud.talent.v4beta1.Job\",\202\323\344\223\002&\""
- + "!/v4beta1/{parent=projects/*}/jobs:\001*\022\201\001"
- + "\n\006GetJob\022*.google.cloud.talent.v4beta1.G"
- + "etJobRequest\032 .google.cloud.talent.v4bet"
- + "a1.Job\")\202\323\344\223\002#\022!/v4beta1/{name=projects/"
- + "*/jobs/*}\022\216\001\n\tUpdateJob\022-.google.cloud.t"
- + "alent.v4beta1.UpdateJobRequest\032 .google."
- + "cloud.talent.v4beta1.Job\"0\202\323\344\223\002*2%/v4bet"
- + "a1/{job.name=projects/*/jobs/*}:\001*\022}\n\tDe"
- + "leteJob\022-.google.cloud.talent.v4beta1.De"
- + "leteJobRequest\032\026.google.protobuf.Empty\")"
- + "\202\323\344\223\002#*!/v4beta1/{name=projects/*/jobs/*"
- + "}\022\222\001\n\010ListJobs\022,.google.cloud.talent.v4b"
- + "eta1.ListJobsRequest\032-.google.cloud.tale"
- + "nt.v4beta1.ListJobsResponse\")\202\323\344\223\002#\022!/v4"
- + "beta1/{parent=projects/*}/jobs\022\230\001\n\017Batch"
- + "DeleteJobs\0223.google.cloud.talent.v4beta1"
- + ".BatchDeleteJobsRequest\032\026.google.protobu"
- + "f.Empty\"8\202\323\344\223\0022\"-/v4beta1/{parent=projec"
- + "ts/*}/jobs:batchDelete:\001*\022\242\001\n\nSearchJobs"
- + "\022..google.cloud.talent.v4beta1.SearchJob"
- + "sRequest\032/.google.cloud.talent.v4beta1.S"
- + "earchJobsResponse\"3\202\323\344\223\002-\"(/v4beta1/{par"
- + "ent=projects/*}/jobs:search:\001*\022\262\001\n\022Searc"
- + "hJobsForAlert\022..google.cloud.talent.v4be"
- + "ta1.SearchJobsRequest\032/.google.cloud.tal"
- + "ent.v4beta1.SearchJobsResponse\";\202\323\344\223\0025\"0"
- + "/v4beta1/{parent=projects/*}/jobs:search"
- + "ForAlert:\001*B}\n\037com.google.cloud.talent.v"
- + "4beta1B\017JobServiceProtoP\001ZAgoogle.golang"
- + ".org/genproto/googleapis/cloud/talent/v4"
- + "beta1;talent\242\002\003CTSb\006proto3"
+ + "google.cloud.talent.v4beta1.Job\"^\202\323\344\223\002X\""
+ + "+/v4beta1/{parent=projects/*/tenants/*}/"
+ + "jobs:\001*Z&\"!/v4beta1/{parent=projects/*}/"
+ + "jobs:\001*\022\260\001\n\006GetJob\022*.google.cloud.talent"
+ + ".v4beta1.GetJobRequest\032 .google.cloud.ta"
+ + "lent.v4beta1.Job\"X\202\323\344\223\002R\022+/v4beta1/{name"
+ + "=projects/*/tenants/*/jobs/*}Z#\022!/v4beta"
+ + "1/{name=projects/*/jobs/*}\022\304\001\n\tUpdateJob"
+ + "\022-.google.cloud.talent.v4beta1.UpdateJob"
+ + "Request\032 .google.cloud.talent.v4beta1.Jo"
+ + "b\"f\202\323\344\223\002`2//v4beta1/{job.name=projects/*"
+ + "/tenants/*/jobs/*}:\001*Z*2%/v4beta1/{job.n"
+ + "ame=projects/*/jobs/*}:\001*\022\254\001\n\tDeleteJob\022"
+ + "-.google.cloud.talent.v4beta1.DeleteJobR"
+ + "equest\032\026.google.protobuf.Empty\"X\202\323\344\223\002R*+"
+ + "/v4beta1/{name=projects/*/tenants/*/jobs"
+ + "/*}Z#*!/v4beta1/{name=projects/*/jobs/*}"
+ + "\022\301\001\n\010ListJobs\022,.google.cloud.talent.v4be"
+ + "ta1.ListJobsRequest\032-.google.cloud.talen"
+ + "t.v4beta1.ListJobsResponse\"X\202\323\344\223\002R\022+/v4b"
+ + "eta1/{parent=projects/*/tenants/*}/jobsZ"
+ + "#\022!/v4beta1/{parent=projects/*}/jobs\022\323\001\n"
+ + "\017BatchDeleteJobs\0223.google.cloud.talent.v"
+ + "4beta1.BatchDeleteJobsRequest\032\026.google.p"
+ + "rotobuf.Empty\"s\202\323\344\223\002m\"7/v4beta1/{parent="
+ + "projects/*/tenants/*}/jobs:batchDelete:\001"
+ + "*Z/\"-/v4beta1/{parent=projects/*}/jobs:b"
+ + "atchDelete\022\333\001\n\nSearchJobs\022..google.cloud"
+ + ".talent.v4beta1.SearchJobsRequest\032/.goog"
+ + "le.cloud.talent.v4beta1.SearchJobsRespon"
+ + "se\"l\202\323\344\223\002f\"2/v4beta1/{parent=projects/*/"
+ + "tenants/*}/jobs:search:\001*Z-\"(/v4beta1/{p"
+ + "arent=projects/*}/jobs:search:\001*\022\363\001\n\022Sea"
+ + "rchJobsForAlert\022..google.cloud.talent.v4"
+ + "beta1.SearchJobsRequest\032/.google.cloud.t"
+ + "alent.v4beta1.SearchJobsResponse\"|\202\323\344\223\002v"
+ + "\":/v4beta1/{parent=projects/*/tenants/*}"
+ + "/jobs:searchForAlert:\001*Z5\"0/v4beta1/{par"
+ + "ent=projects/*}/jobs:searchForAlert:\001*B}"
+ + "\n\037com.google.cloud.talent.v4beta1B\017JobSe"
+ + "rviceProtoP\001ZAgoogle.golang.org/genproto"
+ + "/googleapis/cloud/talent/v4beta1;talent\242"
+ + "\002\003CTSb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java
index b5f0cb13fd5b..7e5b04c665d7 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java
@@ -47,8 +47,7 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
* A minimal view of the job, with the following attributes:
* [Job.name][google.cloud.talent.v4beta1.Job.name],
* [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id],
- * [Job.job_title][],
- * [Job.company_name][google.cloud.talent.v4beta1.Job.company_name],
+ * [Job.job_title][], [Job.company][google.cloud.talent.v4beta1.Job.company],
* [Job.DerivedInfo.locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations],
* [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
*
@@ -63,8 +62,7 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
* A small view of the job, with the following attributes in the search
* results: [Job.name][google.cloud.talent.v4beta1.Job.name],
* [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id],
- * [Job.job_title][],
- * [Job.company_name][google.cloud.talent.v4beta1.Job.company_name],
+ * [Job.job_title][], [Job.company][google.cloud.talent.v4beta1.Job.company],
* [Job.DerivedInfo.locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations],
* [Job.visibility][google.cloud.talent.v4beta1.Job.visibility],
* [Job.language_code][google.cloud.talent.v4beta1.Job.language_code],
@@ -117,8 +115,7 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
* A minimal view of the job, with the following attributes:
* [Job.name][google.cloud.talent.v4beta1.Job.name],
* [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id],
- * [Job.job_title][],
- * [Job.company_name][google.cloud.talent.v4beta1.Job.company_name],
+ * [Job.job_title][], [Job.company][google.cloud.talent.v4beta1.Job.company],
* [Job.DerivedInfo.locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations],
* [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
*
@@ -133,8 +130,7 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
* A small view of the job, with the following attributes in the search
* results: [Job.name][google.cloud.talent.v4beta1.Job.name],
* [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id],
- * [Job.job_title][],
- * [Job.company_name][google.cloud.talent.v4beta1.Job.company_name],
+ * [Job.job_title][], [Job.company][google.cloud.talent.v4beta1.Job.company],
* [Job.DerivedInfo.locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations],
* [Job.visibility][google.cloud.talent.v4beta1.Job.visibility],
* [Job.language_code][google.cloud.talent.v4beta1.Job.language_code],
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListApplicationsRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListApplicationsRequest.java
new file mode 100644
index 000000000000..d2dc9caec0ea
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListApplicationsRequest.java
@@ -0,0 +1,884 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/application_service.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * List applications for which the client has ACL visibility. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ListApplicationsRequest} + */ +public final class ListApplicationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListApplicationsRequest) + ListApplicationsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListApplicationsRequest.newBuilder() to construct. + private ListApplicationsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ListApplicationsRequest() { + parent_ = ""; + pageToken_ = ""; + pageSize_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListApplicationsRequest( + 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(); + + pageToken_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + 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.ApplicationServiceProto + .internal_static_google_cloud_talent_v4beta1_ListApplicationsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.talent.v4beta1.ApplicationServiceProto + .internal_static_google_cloud_talent_v4beta1_ListApplicationsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.talent.v4beta1.ListApplicationsRequest.class, + com.google.cloud.talent.v4beta1.ListApplicationsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+ * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
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. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
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 PAGE_TOKEN_FIELD_NUMBER = 2;
+ private volatile java.lang.Object pageToken_;
+ /**
+ *
+ *
+ * + * Optional. + * The starting indicator from which to return results. + *+ * + *
string page_token = 2;
+ */
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ 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();
+ pageToken_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The starting indicator from which to return results. + *+ * + *
string page_token = 2;
+ */
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PAGE_SIZE_FIELD_NUMBER = 3;
+ private int pageSize_;
+ /**
+ *
+ *
+ * + * Optional. + * The maximum number of applications to be returned, at most 100. + * Default is 100 if a non-positive number is provided. + *+ * + *
int32 page_size = 3;
+ */
+ public int getPageSize() {
+ return pageSize_;
+ }
+
+ 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 (!getPageTokenBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_);
+ }
+ if (pageSize_ != 0) {
+ output.writeInt32(3, pageSize_);
+ }
+ 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 (!getPageTokenBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_);
+ }
+ if (pageSize_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_);
+ }
+ 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.ListApplicationsRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.ListApplicationsRequest other =
+ (com.google.cloud.talent.v4beta1.ListApplicationsRequest) obj;
+
+ boolean result = true;
+ result = result && getParent().equals(other.getParent());
+ result = result && getPageToken().equals(other.getPageToken());
+ result = result && (getPageSize() == other.getPageSize());
+ 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) + PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getPageToken().hashCode();
+ hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
+ hash = (53 * hash) + getPageSize();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsRequest 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.ListApplicationsRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsRequest parseFrom(
+ com.google.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.ListApplicationsRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsRequest 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.ListApplicationsRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsRequest 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.ListApplicationsRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsRequest 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.ListApplicationsRequest 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.ListApplicationsRequest 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.ListApplicationsRequest 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;
+ }
+ /**
+ *
+ *
+ * + * List applications for which the client has ACL visibility. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ListApplicationsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
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. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
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. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
string parent = 1;
+ */
+ public Builder setParent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
string parent = 1;
+ */
+ public Builder clearParent() {
+
+ parent_ = getDefaultInstance().getParent();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
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 pageToken_ = "";
+ /**
+ *
+ *
+ * + * Optional. + * The starting indicator from which to return results. + *+ * + *
string page_token = 2;
+ */
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ pageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The starting indicator from which to return results. + *+ * + *
string page_token = 2;
+ */
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The starting indicator from which to return results. + *+ * + *
string page_token = 2;
+ */
+ public Builder setPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ pageToken_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The starting indicator from which to return results. + *+ * + *
string page_token = 2;
+ */
+ public Builder clearPageToken() {
+
+ pageToken_ = getDefaultInstance().getPageToken();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The starting indicator from which to return results. + *+ * + *
string page_token = 2;
+ */
+ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ pageToken_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int pageSize_;
+ /**
+ *
+ *
+ * + * Optional. + * The maximum number of applications to be returned, at most 100. + * Default is 100 if a non-positive number is provided. + *+ * + *
int32 page_size = 3;
+ */
+ public int getPageSize() {
+ return pageSize_;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The maximum number of applications to be returned, at most 100. + * Default is 100 if a non-positive number is provided. + *+ * + *
int32 page_size = 3;
+ */
+ public Builder setPageSize(int value) {
+
+ pageSize_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. + * The maximum number of applications to be returned, at most 100. + * Default is 100 if a non-positive number is provided. + *+ * + *
int32 page_size = 3;
+ */
+ public Builder clearPageSize() {
+
+ pageSize_ = 0;
+ 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.ListApplicationsRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListApplicationsRequest)
+ private static final com.google.cloud.talent.v4beta1.ListApplicationsRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListApplicationsRequest();
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
string parent = 1;
+ */
+ java.lang.String getParent();
+ /**
+ *
+ *
+ * + * Required. + * Resource name of the profile under which the application is created. + * The format is + * "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for + * example, "projects/test-project/tenants/test-tenant/profiles/test-profile". + *+ * + *
string parent = 1;
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * The starting indicator from which to return results. + *+ * + *
string page_token = 2;
+ */
+ java.lang.String getPageToken();
+ /**
+ *
+ *
+ * + * Optional. + * The starting indicator from which to return results. + *+ * + *
string page_token = 2;
+ */
+ com.google.protobuf.ByteString getPageTokenBytes();
+
+ /**
+ *
+ *
+ * + * Optional. + * The maximum number of applications to be returned, at most 100. + * Default is 100 if a non-positive number is provided. + *+ * + *
int32 page_size = 3;
+ */
+ int getPageSize();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListApplicationsResponse.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListApplicationsResponse.java
new file mode 100644
index 000000000000..e4bb59fbf285
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListApplicationsResponse.java
@@ -0,0 +1,1377 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/application_service.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * Output only. + * The List applications response object. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ListApplicationsResponse} + */ +public final class ListApplicationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListApplicationsResponse) + ListApplicationsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListApplicationsResponse.newBuilder() to construct. + private ListApplicationsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ListApplicationsResponse() { + applications_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListApplicationsResponse( + 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: + { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + applications_ = + new java.util.ArrayList
+ * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public java.util.List+ * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public java.util.List extends com.google.cloud.talent.v4beta1.ApplicationOrBuilder>
+ getApplicationsOrBuilderList() {
+ return applications_;
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public int getApplicationsCount() {
+ return applications_.size();
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public com.google.cloud.talent.v4beta1.Application getApplications(int index) {
+ return applications_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public com.google.cloud.talent.v4beta1.ApplicationOrBuilder getApplicationsOrBuilder(int index) {
+ return applications_.get(index);
+ }
+
+ public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+ private volatile java.lang.Object nextPageToken_;
+ /**
+ *
+ *
+ * + * A token to retrieve the next page of results. + *+ * + *
string next_page_token = 2;
+ */
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ 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();
+ nextPageToken_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * A token to retrieve the next page of results. + *+ * + *
string next_page_token = 2;
+ */
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int METADATA_FIELD_NUMBER = 3;
+ private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_;
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ public boolean hasMetadata() {
+ return metadata_ != null;
+ }
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() {
+ return metadata_ == null
+ ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+ : metadata_;
+ }
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder() {
+ return getMetadata();
+ }
+
+ 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 {
+ for (int i = 0; i < applications_.size(); i++) {
+ output.writeMessage(1, applications_.get(i));
+ }
+ if (!getNextPageTokenBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
+ }
+ if (metadata_ != null) {
+ output.writeMessage(3, getMetadata());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < applications_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, applications_.get(i));
+ }
+ if (!getNextPageTokenBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
+ }
+ if (metadata_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+ }
+ 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.ListApplicationsResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.talent.v4beta1.ListApplicationsResponse other =
+ (com.google.cloud.talent.v4beta1.ListApplicationsResponse) obj;
+
+ boolean result = true;
+ result = result && getApplicationsList().equals(other.getApplicationsList());
+ result = result && getNextPageToken().equals(other.getNextPageToken());
+ result = result && (hasMetadata() == other.hasMetadata());
+ if (hasMetadata()) {
+ result = result && getMetadata().equals(other.getMetadata());
+ }
+ 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 (getApplicationsCount() > 0) {
+ hash = (37 * hash) + APPLICATIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getApplicationsList().hashCode();
+ }
+ hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getNextPageToken().hashCode();
+ if (hasMetadata()) {
+ hash = (37 * hash) + METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + getMetadata().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsResponse 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.ListApplicationsResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsResponse parseFrom(
+ com.google.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.ListApplicationsResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsResponse 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.ListApplicationsResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsResponse 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.ListApplicationsResponse parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsResponse 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.ListApplicationsResponse 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.ListApplicationsResponse 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.ListApplicationsResponse 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;
+ }
+ /**
+ *
+ *
+ * + * Output only. + * The List applications response object. + *+ * + * Protobuf type {@code google.cloud.talent.v4beta1.ListApplicationsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public java.util.List+ * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public int getApplicationsCount() {
+ if (applicationsBuilder_ == null) {
+ return applications_.size();
+ } else {
+ return applicationsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public com.google.cloud.talent.v4beta1.Application getApplications(int index) {
+ if (applicationsBuilder_ == null) {
+ return applications_.get(index);
+ } else {
+ return applicationsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public Builder setApplications(int index, com.google.cloud.talent.v4beta1.Application value) {
+ if (applicationsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureApplicationsIsMutable();
+ applications_.set(index, value);
+ onChanged();
+ } else {
+ applicationsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public Builder setApplications(
+ int index, com.google.cloud.talent.v4beta1.Application.Builder builderForValue) {
+ if (applicationsBuilder_ == null) {
+ ensureApplicationsIsMutable();
+ applications_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ applicationsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public Builder addApplications(com.google.cloud.talent.v4beta1.Application value) {
+ if (applicationsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureApplicationsIsMutable();
+ applications_.add(value);
+ onChanged();
+ } else {
+ applicationsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public Builder addApplications(int index, com.google.cloud.talent.v4beta1.Application value) {
+ if (applicationsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureApplicationsIsMutable();
+ applications_.add(index, value);
+ onChanged();
+ } else {
+ applicationsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public Builder addApplications(
+ com.google.cloud.talent.v4beta1.Application.Builder builderForValue) {
+ if (applicationsBuilder_ == null) {
+ ensureApplicationsIsMutable();
+ applications_.add(builderForValue.build());
+ onChanged();
+ } else {
+ applicationsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public Builder addApplications(
+ int index, com.google.cloud.talent.v4beta1.Application.Builder builderForValue) {
+ if (applicationsBuilder_ == null) {
+ ensureApplicationsIsMutable();
+ applications_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ applicationsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public Builder addAllApplications(
+ java.lang.Iterable extends com.google.cloud.talent.v4beta1.Application> values) {
+ if (applicationsBuilder_ == null) {
+ ensureApplicationsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, applications_);
+ onChanged();
+ } else {
+ applicationsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public Builder clearApplications() {
+ if (applicationsBuilder_ == null) {
+ applications_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ applicationsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public Builder removeApplications(int index) {
+ if (applicationsBuilder_ == null) {
+ ensureApplicationsIsMutable();
+ applications_.remove(index);
+ onChanged();
+ } else {
+ applicationsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public com.google.cloud.talent.v4beta1.Application.Builder getApplicationsBuilder(int index) {
+ return getApplicationsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public com.google.cloud.talent.v4beta1.ApplicationOrBuilder getApplicationsOrBuilder(
+ int index) {
+ if (applicationsBuilder_ == null) {
+ return applications_.get(index);
+ } else {
+ return applicationsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public java.util.List extends com.google.cloud.talent.v4beta1.ApplicationOrBuilder>
+ getApplicationsOrBuilderList() {
+ if (applicationsBuilder_ != null) {
+ return applicationsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(applications_);
+ }
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public com.google.cloud.talent.v4beta1.Application.Builder addApplicationsBuilder() {
+ return getApplicationsFieldBuilder()
+ .addBuilder(com.google.cloud.talent.v4beta1.Application.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public com.google.cloud.talent.v4beta1.Application.Builder addApplicationsBuilder(int index) {
+ return getApplicationsFieldBuilder()
+ .addBuilder(index, com.google.cloud.talent.v4beta1.Application.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ public java.util.List+ * A token to retrieve the next page of results. + *+ * + *
string next_page_token = 2;
+ */
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ nextPageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * A token to retrieve the next page of results. + *+ * + *
string next_page_token = 2;
+ */
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * A token to retrieve the next page of results. + *+ * + *
string next_page_token = 2;
+ */
+ public Builder setNextPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ nextPageToken_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A token to retrieve the next page of results. + *+ * + *
string next_page_token = 2;
+ */
+ public Builder clearNextPageToken() {
+
+ nextPageToken_ = getDefaultInstance().getNextPageToken();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A token to retrieve the next page of results. + *+ * + *
string next_page_token = 2;
+ */
+ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ nextPageToken_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.talent.v4beta1.ResponseMetadata,
+ com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+ com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+ metadataBuilder_;
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ public boolean hasMetadata() {
+ return metadataBuilder_ != null || metadata_ != null;
+ }
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() {
+ if (metadataBuilder_ == null) {
+ return metadata_ == null
+ ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+ : metadata_;
+ } else {
+ return metadataBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata value) {
+ if (metadataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metadata_ = value;
+ onChanged();
+ } else {
+ metadataBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ public Builder setMetadata(
+ com.google.cloud.talent.v4beta1.ResponseMetadata.Builder builderForValue) {
+ if (metadataBuilder_ == null) {
+ metadata_ = builderForValue.build();
+ onChanged();
+ } else {
+ metadataBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata value) {
+ if (metadataBuilder_ == null) {
+ if (metadata_ != null) {
+ metadata_ =
+ com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ metadata_ = value;
+ }
+ onChanged();
+ } else {
+ metadataBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ public Builder clearMetadata() {
+ if (metadataBuilder_ == null) {
+ metadata_ = null;
+ onChanged();
+ } else {
+ metadata_ = null;
+ metadataBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
+
+ onChanged();
+ return getMetadataFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder() {
+ if (metadataBuilder_ != null) {
+ return metadataBuilder_.getMessageOrBuilder();
+ } else {
+ return metadata_ == null
+ ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+ : metadata_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.talent.v4beta1.ResponseMetadata,
+ com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+ com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+ getMetadataFieldBuilder() {
+ if (metadataBuilder_ == null) {
+ metadataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.talent.v4beta1.ResponseMetadata,
+ com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+ com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+ getMetadata(), getParentForChildren(), isClean());
+ metadata_ = null;
+ }
+ return metadataBuilder_;
+ }
+
+ @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.ListApplicationsResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListApplicationsResponse)
+ private static final com.google.cloud.talent.v4beta1.ListApplicationsResponse DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListApplicationsResponse();
+ }
+
+ public static com.google.cloud.talent.v4beta1.ListApplicationsResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ java.util.List+ * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ com.google.cloud.talent.v4beta1.Application getApplications(int index);
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ int getApplicationsCount();
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ java.util.List extends com.google.cloud.talent.v4beta1.ApplicationOrBuilder>
+ getApplicationsOrBuilderList();
+ /**
+ *
+ *
+ * + * Applications for the current client. + *+ * + *
repeated .google.cloud.talent.v4beta1.Application applications = 1;
+ */
+ com.google.cloud.talent.v4beta1.ApplicationOrBuilder getApplicationsOrBuilder(int index);
+
+ /**
+ *
+ *
+ * + * A token to retrieve the next page of results. + *+ * + *
string next_page_token = 2;
+ */
+ java.lang.String getNextPageToken();
+ /**
+ *
+ *
+ * + * A token to retrieve the next page of results. + *+ * + *
string next_page_token = 2;
+ */
+ com.google.protobuf.ByteString getNextPageTokenBytes();
+
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ boolean hasMetadata();
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata();
+ /**
+ *
+ *
+ * + * Additional information for the API invocation, such as the request + * tracking id. + *+ * + *
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
+ */
+ com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();
+}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java
index 0e2d9968fd23..d2e61c39fd40 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java
@@ -118,9 +118,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -141,9 +143,11 @@ public java.lang.String getParent() {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -613,9 +617,11 @@ public Builder mergeFrom(
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -636,9 +642,11 @@ public java.lang.String getParent() {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -659,9 +667,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -680,9 +690,11 @@ public Builder setParent(java.lang.String value) {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -698,9 +710,11 @@ public Builder clearParent() {
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java
index 7392d93df2f5..ed325c2aa3cd 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java
@@ -13,9 +13,11 @@ public interface ListCompaniesRequestOrBuilder
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -26,9 +28,11 @@ public interface ListCompaniesRequestOrBuilder
*
* * Required. - * Resource name of the project under which the company is created. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". + * Resource name of the tenant under which the company is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
index 13c2012aa246..3f969b37b115 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
@@ -129,9 +129,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -152,9 +154,11 @@ public 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -186,11 +190,11 @@ public com.google.protobuf.ByteString getParentBytes() {
* * `status` (Optional) Available values: OPEN, EXPIRED, ALL. Defaults to
* OPEN if no value is specified.
* Sample Query:
- * * companyName = "projects/api-test-project/companies/123"
- * * companyName = "projects/api-test-project/companies/123" AND requisitionId
- * = "req-1"
- * * companyName = "projects/api-test-project/companies/123" AND status =
- * "EXPIRED"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * requisitionId = "req-1"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * status = "EXPIRED"
*
*
* string filter = 2;
@@ -219,11 +223,11 @@ public java.lang.String getFilter() {
* * `status` (Optional) Available values: OPEN, EXPIRED, ALL. Defaults to
* OPEN if no value is specified.
* Sample Query:
- * * companyName = "projects/api-test-project/companies/123"
- * * companyName = "projects/api-test-project/companies/123" AND requisitionId
- * = "req-1"
- * * companyName = "projects/api-test-project/companies/123" AND status =
- * "EXPIRED"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * requisitionId = "req-1"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * status = "EXPIRED"
*
*
* string filter = 2;
@@ -732,9 +736,11 @@ public Builder mergeFrom(
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -755,9 +761,11 @@ public 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -778,9 +786,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -799,9 +809,11 @@ public Builder setParent(java.lang.String value) {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -817,9 +829,11 @@ public Builder clearParent() {
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -849,11 +863,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
* * `status` (Optional) Available values: OPEN, EXPIRED, ALL. Defaults to
* OPEN if no value is specified.
* Sample Query:
- * * companyName = "projects/api-test-project/companies/123"
- * * companyName = "projects/api-test-project/companies/123" AND requisitionId
- * = "req-1"
- * * companyName = "projects/api-test-project/companies/123" AND status =
- * "EXPIRED"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * requisitionId = "req-1"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * status = "EXPIRED"
*
*
* string filter = 2;
@@ -882,11 +896,11 @@ public java.lang.String getFilter() {
* * `status` (Optional) Available values: OPEN, EXPIRED, ALL. Defaults to
* OPEN if no value is specified.
* Sample Query:
- * * companyName = "projects/api-test-project/companies/123"
- * * companyName = "projects/api-test-project/companies/123" AND requisitionId
- * = "req-1"
- * * companyName = "projects/api-test-project/companies/123" AND status =
- * "EXPIRED"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * requisitionId = "req-1"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * status = "EXPIRED"
*
*
* string filter = 2;
@@ -915,11 +929,11 @@ public com.google.protobuf.ByteString getFilterBytes() {
* * `status` (Optional) Available values: OPEN, EXPIRED, ALL. Defaults to
* OPEN if no value is specified.
* Sample Query:
- * * companyName = "projects/api-test-project/companies/123"
- * * companyName = "projects/api-test-project/companies/123" AND requisitionId
- * = "req-1"
- * * companyName = "projects/api-test-project/companies/123" AND status =
- * "EXPIRED"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * requisitionId = "req-1"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * status = "EXPIRED"
*
*
* string filter = 2;
@@ -946,11 +960,11 @@ public Builder setFilter(java.lang.String value) {
* * `status` (Optional) Available values: OPEN, EXPIRED, ALL. Defaults to
* OPEN if no value is specified.
* Sample Query:
- * * companyName = "projects/api-test-project/companies/123"
- * * companyName = "projects/api-test-project/companies/123" AND requisitionId
- * = "req-1"
- * * companyName = "projects/api-test-project/companies/123" AND status =
- * "EXPIRED"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * requisitionId = "req-1"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * status = "EXPIRED"
*
*
* string filter = 2;
@@ -974,11 +988,11 @@ public Builder clearFilter() {
* * `status` (Optional) Available values: OPEN, EXPIRED, ALL. Defaults to
* OPEN if no value is specified.
* Sample Query:
- * * companyName = "projects/api-test-project/companies/123"
- * * companyName = "projects/api-test-project/companies/123" AND requisitionId
- * = "req-1"
- * * companyName = "projects/api-test-project/companies/123" AND status =
- * "EXPIRED"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * requisitionId = "req-1"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * status = "EXPIRED"
*
*
* string filter = 2;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java
index 7b6046a8dc03..1e5a4f53cfb3 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java
@@ -13,9 +13,11 @@ public interface ListJobsRequestOrBuilder
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -26,9 +28,11 @@ public interface ListJobsRequestOrBuilder
*
* * 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". + * The resource name of the tenant under which the job is created. + * The format is "projects/{project_id}/tenants/{tenant_id}", for example, + * "projects/api-test-project/tenant/foo". + * Tenant id is optional and the default tenant is used if unspecified, for + * example, "projects/api-test-project". ** *
string parent = 1;
@@ -48,11 +52,11 @@ public interface ListJobsRequestOrBuilder
* * `status` (Optional) Available values: OPEN, EXPIRED, ALL. Defaults to
* OPEN if no value is specified.
* Sample Query:
- * * companyName = "projects/api-test-project/companies/123"
- * * companyName = "projects/api-test-project/companies/123" AND requisitionId
- * = "req-1"
- * * companyName = "projects/api-test-project/companies/123" AND status =
- * "EXPIRED"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * requisitionId = "req-1"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * status = "EXPIRED"
*
*
* string filter = 2;
@@ -71,11 +75,11 @@ public interface ListJobsRequestOrBuilder
* * `status` (Optional) Available values: OPEN, EXPIRED, ALL. Defaults to
* OPEN if no value is specified.
* Sample Query:
- * * companyName = "projects/api-test-project/companies/123"
- * * companyName = "projects/api-test-project/companies/123" AND requisitionId
- * = "req-1"
- * * companyName = "projects/api-test-project/companies/123" AND status =
- * "EXPIRED"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * requisitionId = "req-1"
+ * * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
+ * status = "EXPIRED"
*
*
* string filter = 2;
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequest.java
index a9393cd5c846..39efad5b2b7e 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequest.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequest.java
@@ -74,14 +74,14 @@ private ListProfilesRequest(
case 34:
{
com.google.protobuf.FieldMask.Builder subBuilder = null;
- if (fieldMask_ != null) {
- subBuilder = fieldMask_.toBuilder();
+ if (readMask_ != null) {
+ subBuilder = readMask_.toBuilder();
}
- fieldMask_ =
+ readMask_ =
input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry);
if (subBuilder != null) {
- subBuilder.mergeFrom(fieldMask_);
- fieldMask_ = subBuilder.buildPartial();
+ subBuilder.mergeFrom(readMask_);
+ readMask_ = subBuilder.buildPartial();
}
break;
@@ -237,8 +237,8 @@ public int getPageSize() {
return pageSize_;
}
- public static final int FIELD_MASK_FIELD_NUMBER = 4;
- private com.google.protobuf.FieldMask fieldMask_;
+ public static final int READ_MASK_FIELD_NUMBER = 4;
+ private com.google.protobuf.FieldMask readMask_;
/**
*
*
@@ -250,10 +250,10 @@ public int getPageSize() {
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- public boolean hasFieldMask() {
- return fieldMask_ != null;
+ public boolean hasReadMask() {
+ return readMask_ != null;
}
/**
*
@@ -266,10 +266,10 @@ public boolean hasFieldMask() {
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- public com.google.protobuf.FieldMask getFieldMask() {
- return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_;
+ public com.google.protobuf.FieldMask getReadMask() {
+ return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
}
/**
*
@@ -282,10 +282,10 @@ public com.google.protobuf.FieldMask getFieldMask() {
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
- return getFieldMask();
+ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
+ return getReadMask();
}
private byte memoizedIsInitialized = -1;
@@ -311,8 +311,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (pageSize_ != 0) {
output.writeInt32(3, pageSize_);
}
- if (fieldMask_ != null) {
- output.writeMessage(4, getFieldMask());
+ if (readMask_ != null) {
+ output.writeMessage(4, getReadMask());
}
unknownFields.writeTo(output);
}
@@ -332,8 +332,8 @@ public int getSerializedSize() {
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_);
}
- if (fieldMask_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getFieldMask());
+ if (readMask_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadMask());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -355,9 +355,9 @@ public boolean equals(final java.lang.Object obj) {
result = result && getParent().equals(other.getParent());
result = result && getPageToken().equals(other.getPageToken());
result = result && (getPageSize() == other.getPageSize());
- result = result && (hasFieldMask() == other.hasFieldMask());
- if (hasFieldMask()) {
- result = result && getFieldMask().equals(other.getFieldMask());
+ result = result && (hasReadMask() == other.hasReadMask());
+ if (hasReadMask()) {
+ result = result && getReadMask().equals(other.getReadMask());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
@@ -376,9 +376,9 @@ public int hashCode() {
hash = (53 * hash) + getPageToken().hashCode();
hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
hash = (53 * hash) + getPageSize();
- if (hasFieldMask()) {
- hash = (37 * hash) + FIELD_MASK_FIELD_NUMBER;
- hash = (53 * hash) + getFieldMask().hashCode();
+ if (hasReadMask()) {
+ hash = (37 * hash) + READ_MASK_FIELD_NUMBER;
+ hash = (53 * hash) + getReadMask().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
@@ -531,11 +531,11 @@ public Builder clear() {
pageSize_ = 0;
- if (fieldMaskBuilder_ == null) {
- fieldMask_ = null;
+ if (readMaskBuilder_ == null) {
+ readMask_ = null;
} else {
- fieldMask_ = null;
- fieldMaskBuilder_ = null;
+ readMask_ = null;
+ readMaskBuilder_ = null;
}
return this;
}
@@ -567,10 +567,10 @@ public com.google.cloud.talent.v4beta1.ListProfilesRequest buildPartial() {
result.parent_ = parent_;
result.pageToken_ = pageToken_;
result.pageSize_ = pageSize_;
- if (fieldMaskBuilder_ == null) {
- result.fieldMask_ = fieldMask_;
+ if (readMaskBuilder_ == null) {
+ result.readMask_ = readMask_;
} else {
- result.fieldMask_ = fieldMaskBuilder_.build();
+ result.readMask_ = readMaskBuilder_.build();
}
onBuilt();
return result;
@@ -633,8 +633,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListProfilesRequest oth
if (other.getPageSize() != 0) {
setPageSize(other.getPageSize());
}
- if (other.hasFieldMask()) {
- mergeFieldMask(other.getFieldMask());
+ if (other.hasReadMask()) {
+ mergeReadMask(other.getReadMask());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -939,12 +939,12 @@ public Builder clearPageSize() {
return this;
}
- private com.google.protobuf.FieldMask fieldMask_ = null;
+ private com.google.protobuf.FieldMask readMask_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.FieldMask,
com.google.protobuf.FieldMask.Builder,
com.google.protobuf.FieldMaskOrBuilder>
- fieldMaskBuilder_;
+ readMaskBuilder_;
/**
*
*
@@ -956,10 +956,10 @@ public Builder clearPageSize() {
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- public boolean hasFieldMask() {
- return fieldMaskBuilder_ != null || fieldMask_ != null;
+ public boolean hasReadMask() {
+ return readMaskBuilder_ != null || readMask_ != null;
}
/**
*
@@ -972,13 +972,13 @@ public boolean hasFieldMask() {
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- public com.google.protobuf.FieldMask getFieldMask() {
- if (fieldMaskBuilder_ == null) {
- return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_;
+ public com.google.protobuf.FieldMask getReadMask() {
+ if (readMaskBuilder_ == null) {
+ return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
} else {
- return fieldMaskBuilder_.getMessage();
+ return readMaskBuilder_.getMessage();
}
}
/**
@@ -992,17 +992,17 @@ public com.google.protobuf.FieldMask getFieldMask() {
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- public Builder setFieldMask(com.google.protobuf.FieldMask value) {
- if (fieldMaskBuilder_ == null) {
+ public Builder setReadMask(com.google.protobuf.FieldMask value) {
+ if (readMaskBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- fieldMask_ = value;
+ readMask_ = value;
onChanged();
} else {
- fieldMaskBuilder_.setMessage(value);
+ readMaskBuilder_.setMessage(value);
}
return this;
@@ -1018,14 +1018,14 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) {
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue) {
- if (fieldMaskBuilder_ == null) {
- fieldMask_ = builderForValue.build();
+ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+ if (readMaskBuilder_ == null) {
+ readMask_ = builderForValue.build();
onChanged();
} else {
- fieldMaskBuilder_.setMessage(builderForValue.build());
+ readMaskBuilder_.setMessage(builderForValue.build());
}
return this;
@@ -1041,19 +1041,19 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
- if (fieldMaskBuilder_ == null) {
- if (fieldMask_ != null) {
- fieldMask_ =
- com.google.protobuf.FieldMask.newBuilder(fieldMask_).mergeFrom(value).buildPartial();
+ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
+ if (readMaskBuilder_ == null) {
+ if (readMask_ != null) {
+ readMask_ =
+ com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
} else {
- fieldMask_ = value;
+ readMask_ = value;
}
onChanged();
} else {
- fieldMaskBuilder_.mergeFrom(value);
+ readMaskBuilder_.mergeFrom(value);
}
return this;
@@ -1069,15 +1069,15 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- public Builder clearFieldMask() {
- if (fieldMaskBuilder_ == null) {
- fieldMask_ = null;
+ public Builder clearReadMask() {
+ if (readMaskBuilder_ == null) {
+ readMask_ = null;
onChanged();
} else {
- fieldMask_ = null;
- fieldMaskBuilder_ = null;
+ readMask_ = null;
+ readMaskBuilder_ = null;
}
return this;
@@ -1093,12 +1093,12 @@ public Builder clearFieldMask() {
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() {
+ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
onChanged();
- return getFieldMaskFieldBuilder().getBuilder();
+ return getReadMaskFieldBuilder().getBuilder();
}
/**
*
@@ -1111,13 +1111,13 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() {
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
- if (fieldMaskBuilder_ != null) {
- return fieldMaskBuilder_.getMessageOrBuilder();
+ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
+ if (readMaskBuilder_ != null) {
+ return readMaskBuilder_.getMessageOrBuilder();
} else {
- return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_;
+ return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
}
}
/**
@@ -1131,23 +1131,23 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.FieldMask,
com.google.protobuf.FieldMask.Builder,
com.google.protobuf.FieldMaskOrBuilder>
- getFieldMaskFieldBuilder() {
- if (fieldMaskBuilder_ == null) {
- fieldMaskBuilder_ =
+ getReadMaskFieldBuilder() {
+ if (readMaskBuilder_ == null) {
+ readMaskBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.FieldMask,
com.google.protobuf.FieldMask.Builder,
com.google.protobuf.FieldMaskOrBuilder>(
- getFieldMask(), getParentForChildren(), isClean());
- fieldMask_ = null;
+ getReadMask(), getParentForChildren(), isClean());
+ readMask_ = null;
}
- return fieldMaskBuilder_;
+ return readMaskBuilder_;
}
@java.lang.Override
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequestOrBuilder.java
index 7cbb0c4929f1..547a776f8ae4 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListProfilesRequestOrBuilder.java
@@ -88,9 +88,9 @@ public interface ListProfilesRequestOrBuilder
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- boolean hasFieldMask();
+ boolean hasReadMask();
/**
*
*
@@ -102,9 +102,9 @@ public interface ListProfilesRequestOrBuilder
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- com.google.protobuf.FieldMask getFieldMask();
+ com.google.protobuf.FieldMask getReadMask();
/**
*
*
@@ -116,7 +116,7 @@ public interface ListProfilesRequestOrBuilder
* * name
*
*
- * .google.protobuf.FieldMask field_mask = 4;
+ * .google.protobuf.FieldMask read_mask = 4;
*/
- com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder();
+ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder();
}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Outcome.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Outcome.java
new file mode 100644
index 000000000000..91f2cc2a088e
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Outcome.java
@@ -0,0 +1,203 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/common.proto
+
+package com.google.cloud.talent.v4beta1;
+
+/**
+ *
+ *
+ * + * The overall outcome /decision / result indicator. + *+ * + * Protobuf enum {@code google.cloud.talent.v4beta1.Outcome} + */ +public enum Outcome implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Default value. + *+ * + *
OUTCOME_UNSPECIFIED = 0;
+ */
+ OUTCOME_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * A positive outcome / passing indicator (for example, candidate was + * recommended for hiring or to be moved forward in the hiring process, + * candidate passed a test). + *+ * + *
POSITIVE = 1;
+ */
+ POSITIVE(1),
+ /**
+ *
+ *
+ * + * A neutral outcome / no clear indicator (for example, no strong + * reccommendation either to move forward / not move forward, neutral score). + *+ * + *
NEUTRAL = 2;
+ */
+ NEUTRAL(2),
+ /**
+ *
+ *
+ * + * A negative outcome / failing indicator (for example, candidate was + * recommended to NOT move forward in the hiring process, failed a test). + *+ * + *
NEGATIVE = 3;
+ */
+ NEGATIVE(3),
+ /**
+ *
+ *
+ * + * The assessment outcome is not available or otherwise unknown (for example, + * candidate did not complete assessment). + *+ * + *
OUTCOME_NOT_AVAILABLE = 4;
+ */
+ OUTCOME_NOT_AVAILABLE(4),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Default value. + *+ * + *
OUTCOME_UNSPECIFIED = 0;
+ */
+ public static final int OUTCOME_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * A positive outcome / passing indicator (for example, candidate was + * recommended for hiring or to be moved forward in the hiring process, + * candidate passed a test). + *+ * + *
POSITIVE = 1;
+ */
+ public static final int POSITIVE_VALUE = 1;
+ /**
+ *
+ *
+ * + * A neutral outcome / no clear indicator (for example, no strong + * reccommendation either to move forward / not move forward, neutral score). + *+ * + *
NEUTRAL = 2;
+ */
+ public static final int NEUTRAL_VALUE = 2;
+ /**
+ *
+ *
+ * + * A negative outcome / failing indicator (for example, candidate was + * recommended to NOT move forward in the hiring process, failed a test). + *+ * + *
NEGATIVE = 3;
+ */
+ public static final int NEGATIVE_VALUE = 3;
+ /**
+ *
+ *
+ * + * The assessment outcome is not available or otherwise unknown (for example, + * candidate did not complete assessment). + *+ * + *
OUTCOME_NOT_AVAILABLE = 4;
+ */
+ public static final int OUTCOME_NOT_AVAILABLE_VALUE = 4;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /** @deprecated Use {@link #forNumber(int)} instead. */
+ @java.lang.Deprecated
+ public static Outcome valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static Outcome forNumber(int value) {
+ switch (value) {
+ case 0:
+ return OUTCOME_UNSPECIFIED;
+ case 1:
+ return POSITIVE;
+ case 2:
+ return NEUTRAL;
+ case 3:
+ return NEGATIVE;
+ case 4:
+ return OUTCOME_NOT_AVAILABLE;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap- * Optional. - * Controls whether Optical Character Recognition (OCR) is enabled. - * OCR is used to decipher pictorial resumes, or resumes that have some - * element of pictorial detail (for example, contact information placed within - * an image in a pdf). Note that the API call has a higher latency if OCR is - * enabled. - *- * - *
bool enable_ocr = 1;
- */
- boolean getEnableOcr();
-
- /**
- *
- *
- * - * Optional. - * Controls whether detected skills are included in the parsed profile from - * sections of the resume other than just skills sections. - * Normally, returned skills are limited to those taken from a resume section - * intended to list skills. When enabled, this feature causes detected - * skills in other sections to also be included in the returned profile. - *- * - *
bool enable_full_skill_detection = 2;
- */
- boolean getEnableFullSkillDetection();
-}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ParseResumeRequest.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ParseResumeRequest.java
deleted file mode 100644
index b7a095feb2db..000000000000
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ParseResumeRequest.java
+++ /dev/null
@@ -1,1387 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/talent/v4beta1/resume_service.proto
-
-package com.google.cloud.talent.v4beta1;
-
-/**
- *
- *
- * - * Parse resume request. - *- * - * Protobuf type {@code google.cloud.talent.v4beta1.ParseResumeRequest} - */ -public final class ParseResumeRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ParseResumeRequest) - ParseResumeRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ParseResumeRequest.newBuilder() to construct. - private ParseResumeRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private ParseResumeRequest() { - parent_ = ""; - resume_ = com.google.protobuf.ByteString.EMPTY; - regionCode_ = ""; - languageCode_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ParseResumeRequest( - 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: - { - resume_ = input.readBytes(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - regionCode_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - languageCode_ = s; - break; - } - case 42: - { - com.google.cloud.talent.v4beta1.ParseResumeOptions.Builder subBuilder = null; - if (options_ != null) { - subBuilder = options_.toBuilder(); - } - options_ = - input.readMessage( - com.google.cloud.talent.v4beta1.ParseResumeOptions.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(options_); - options_ = 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.ResumeServiceProto - .internal_static_google_cloud_talent_v4beta1_ParseResumeRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.ResumeServiceProto - .internal_static_google_cloud_talent_v4beta1_ParseResumeRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ParseResumeRequest.class, - com.google.cloud.talent.v4beta1.ParseResumeRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - private volatile java.lang.Object parent_; - /** - * - * - *
- * Required. - * The resource name of the project. - * 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. - * 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 RESUME_FIELD_NUMBER = 2;
- private com.google.protobuf.ByteString resume_;
- /**
- *
- *
- * - * Required. - * The bytes of the resume file in common format, for example, PDF, TXT. - * UTF-8 encoding is required if the resume is text-based, otherwise an error - * is thrown. - *- * - *
bytes resume = 2;
- */
- public com.google.protobuf.ByteString getResume() {
- return resume_;
- }
-
- public static final int REGION_CODE_FIELD_NUMBER = 3;
- private volatile java.lang.Object regionCode_;
- /**
- *
- *
- * - * Optional. - * The region code indicating where the resume is from. Values - * are as per the ISO-3166-2 format. For example, US, FR, DE. - * This value is optional, but providing this value improves the resume - * parsing quality and performance. - * An error is thrown if the regionCode is invalid. - *- * - *
string region_code = 3;
- */
- public java.lang.String getRegionCode() {
- java.lang.Object ref = regionCode_;
- 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();
- regionCode_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * Optional. - * The region code indicating where the resume is from. Values - * are as per the ISO-3166-2 format. For example, US, FR, DE. - * This value is optional, but providing this value improves the resume - * parsing quality and performance. - * An error is thrown if the regionCode is invalid. - *- * - *
string region_code = 3;
- */
- public com.google.protobuf.ByteString getRegionCodeBytes() {
- java.lang.Object ref = regionCode_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- regionCode_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int LANGUAGE_CODE_FIELD_NUMBER = 4;
- private volatile java.lang.Object languageCode_;
- /**
- *
- *
- * - * Optional. - * The language code of contents in the resume. - * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". - * For more information, see - * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: - * class="external" target="_blank" }. - *- * - *
string language_code = 4;
- */
- public java.lang.String getLanguageCode() {
- java.lang.Object ref = languageCode_;
- 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();
- languageCode_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * Optional. - * The language code of contents in the resume. - * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". - * For more information, see - * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: - * class="external" target="_blank" }. - *- * - *
string language_code = 4;
- */
- public com.google.protobuf.ByteString getLanguageCodeBytes() {
- java.lang.Object ref = languageCode_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- languageCode_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int OPTIONS_FIELD_NUMBER = 5;
- private com.google.cloud.talent.v4beta1.ParseResumeOptions options_;
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- public boolean hasOptions() {
- return options_ != null;
- }
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- public com.google.cloud.talent.v4beta1.ParseResumeOptions getOptions() {
- return options_ == null
- ? com.google.cloud.talent.v4beta1.ParseResumeOptions.getDefaultInstance()
- : options_;
- }
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- public com.google.cloud.talent.v4beta1.ParseResumeOptionsOrBuilder getOptionsOrBuilder() {
- return getOptions();
- }
-
- 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 (!resume_.isEmpty()) {
- output.writeBytes(2, resume_);
- }
- if (!getRegionCodeBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 3, regionCode_);
- }
- if (!getLanguageCodeBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 4, languageCode_);
- }
- if (options_ != null) {
- output.writeMessage(5, getOptions());
- }
- 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 (!resume_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, resume_);
- }
- if (!getRegionCodeBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, regionCode_);
- }
- if (!getLanguageCodeBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, languageCode_);
- }
- if (options_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getOptions());
- }
- 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.ParseResumeRequest)) {
- return super.equals(obj);
- }
- com.google.cloud.talent.v4beta1.ParseResumeRequest other =
- (com.google.cloud.talent.v4beta1.ParseResumeRequest) obj;
-
- boolean result = true;
- result = result && getParent().equals(other.getParent());
- result = result && getResume().equals(other.getResume());
- result = result && getRegionCode().equals(other.getRegionCode());
- result = result && getLanguageCode().equals(other.getLanguageCode());
- result = result && (hasOptions() == other.hasOptions());
- if (hasOptions()) {
- result = result && getOptions().equals(other.getOptions());
- }
- 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) + RESUME_FIELD_NUMBER;
- hash = (53 * hash) + getResume().hashCode();
- hash = (37 * hash) + REGION_CODE_FIELD_NUMBER;
- hash = (53 * hash) + getRegionCode().hashCode();
- hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER;
- hash = (53 * hash) + getLanguageCode().hashCode();
- if (hasOptions()) {
- hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
- hash = (53 * hash) + getOptions().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeRequest parseFrom(
- java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeRequest 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.ParseResumeRequest parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeRequest parseFrom(
- com.google.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.ParseResumeRequest parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeRequest 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.ParseResumeRequest parseFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeRequest 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.ParseResumeRequest parseDelimitedFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeRequest 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.ParseResumeRequest 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.ParseResumeRequest 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.ParseResumeRequest 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;
- }
- /**
- *
- *
- * - * Parse resume request. - *- * - * Protobuf type {@code google.cloud.talent.v4beta1.ParseResumeRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
- * Required. - * The resource name of the project. - * 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. - * 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. - * 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. - * 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. - * 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 com.google.protobuf.ByteString resume_ = com.google.protobuf.ByteString.EMPTY;
- /**
- *
- *
- * - * Required. - * The bytes of the resume file in common format, for example, PDF, TXT. - * UTF-8 encoding is required if the resume is text-based, otherwise an error - * is thrown. - *- * - *
bytes resume = 2;
- */
- public com.google.protobuf.ByteString getResume() {
- return resume_;
- }
- /**
- *
- *
- * - * Required. - * The bytes of the resume file in common format, for example, PDF, TXT. - * UTF-8 encoding is required if the resume is text-based, otherwise an error - * is thrown. - *- * - *
bytes resume = 2;
- */
- public Builder setResume(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- resume_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Required. - * The bytes of the resume file in common format, for example, PDF, TXT. - * UTF-8 encoding is required if the resume is text-based, otherwise an error - * is thrown. - *- * - *
bytes resume = 2;
- */
- public Builder clearResume() {
-
- resume_ = getDefaultInstance().getResume();
- onChanged();
- return this;
- }
-
- private java.lang.Object regionCode_ = "";
- /**
- *
- *
- * - * Optional. - * The region code indicating where the resume is from. Values - * are as per the ISO-3166-2 format. For example, US, FR, DE. - * This value is optional, but providing this value improves the resume - * parsing quality and performance. - * An error is thrown if the regionCode is invalid. - *- * - *
string region_code = 3;
- */
- public java.lang.String getRegionCode() {
- java.lang.Object ref = regionCode_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- regionCode_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * Optional. - * The region code indicating where the resume is from. Values - * are as per the ISO-3166-2 format. For example, US, FR, DE. - * This value is optional, but providing this value improves the resume - * parsing quality and performance. - * An error is thrown if the regionCode is invalid. - *- * - *
string region_code = 3;
- */
- public com.google.protobuf.ByteString getRegionCodeBytes() {
- java.lang.Object ref = regionCode_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- regionCode_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * Optional. - * The region code indicating where the resume is from. Values - * are as per the ISO-3166-2 format. For example, US, FR, DE. - * This value is optional, but providing this value improves the resume - * parsing quality and performance. - * An error is thrown if the regionCode is invalid. - *- * - *
string region_code = 3;
- */
- public Builder setRegionCode(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- regionCode_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The region code indicating where the resume is from. Values - * are as per the ISO-3166-2 format. For example, US, FR, DE. - * This value is optional, but providing this value improves the resume - * parsing quality and performance. - * An error is thrown if the regionCode is invalid. - *- * - *
string region_code = 3;
- */
- public Builder clearRegionCode() {
-
- regionCode_ = getDefaultInstance().getRegionCode();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The region code indicating where the resume is from. Values - * are as per the ISO-3166-2 format. For example, US, FR, DE. - * This value is optional, but providing this value improves the resume - * parsing quality and performance. - * An error is thrown if the regionCode is invalid. - *- * - *
string region_code = 3;
- */
- public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- regionCode_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object languageCode_ = "";
- /**
- *
- *
- * - * Optional. - * The language code of contents in the resume. - * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". - * For more information, see - * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: - * class="external" target="_blank" }. - *- * - *
string language_code = 4;
- */
- public java.lang.String getLanguageCode() {
- java.lang.Object ref = languageCode_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- languageCode_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * Optional. - * The language code of contents in the resume. - * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". - * For more information, see - * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: - * class="external" target="_blank" }. - *- * - *
string language_code = 4;
- */
- public com.google.protobuf.ByteString getLanguageCodeBytes() {
- java.lang.Object ref = languageCode_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- languageCode_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * Optional. - * The language code of contents in the resume. - * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". - * For more information, see - * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: - * class="external" target="_blank" }. - *- * - *
string language_code = 4;
- */
- public Builder setLanguageCode(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- languageCode_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The language code of contents in the resume. - * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". - * For more information, see - * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: - * class="external" target="_blank" }. - *- * - *
string language_code = 4;
- */
- public Builder clearLanguageCode() {
-
- languageCode_ = getDefaultInstance().getLanguageCode();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Optional. - * The language code of contents in the resume. - * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". - * For more information, see - * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: - * class="external" target="_blank" }. - *- * - *
string language_code = 4;
- */
- public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- languageCode_ = value;
- onChanged();
- return this;
- }
-
- private com.google.cloud.talent.v4beta1.ParseResumeOptions options_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.talent.v4beta1.ParseResumeOptions,
- com.google.cloud.talent.v4beta1.ParseResumeOptions.Builder,
- com.google.cloud.talent.v4beta1.ParseResumeOptionsOrBuilder>
- optionsBuilder_;
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- public boolean hasOptions() {
- return optionsBuilder_ != null || options_ != null;
- }
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- public com.google.cloud.talent.v4beta1.ParseResumeOptions getOptions() {
- if (optionsBuilder_ == null) {
- return options_ == null
- ? com.google.cloud.talent.v4beta1.ParseResumeOptions.getDefaultInstance()
- : options_;
- } else {
- return optionsBuilder_.getMessage();
- }
- }
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- public Builder setOptions(com.google.cloud.talent.v4beta1.ParseResumeOptions value) {
- if (optionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- options_ = value;
- onChanged();
- } else {
- optionsBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- public Builder setOptions(
- com.google.cloud.talent.v4beta1.ParseResumeOptions.Builder builderForValue) {
- if (optionsBuilder_ == null) {
- options_ = builderForValue.build();
- onChanged();
- } else {
- optionsBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- public Builder mergeOptions(com.google.cloud.talent.v4beta1.ParseResumeOptions value) {
- if (optionsBuilder_ == null) {
- if (options_ != null) {
- options_ =
- com.google.cloud.talent.v4beta1.ParseResumeOptions.newBuilder(options_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- options_ = value;
- }
- onChanged();
- } else {
- optionsBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- public Builder clearOptions() {
- if (optionsBuilder_ == null) {
- options_ = null;
- onChanged();
- } else {
- options_ = null;
- optionsBuilder_ = null;
- }
-
- return this;
- }
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- public com.google.cloud.talent.v4beta1.ParseResumeOptions.Builder getOptionsBuilder() {
-
- onChanged();
- return getOptionsFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- public com.google.cloud.talent.v4beta1.ParseResumeOptionsOrBuilder getOptionsOrBuilder() {
- if (optionsBuilder_ != null) {
- return optionsBuilder_.getMessageOrBuilder();
- } else {
- return options_ == null
- ? com.google.cloud.talent.v4beta1.ParseResumeOptions.getDefaultInstance()
- : options_;
- }
- }
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.talent.v4beta1.ParseResumeOptions,
- com.google.cloud.talent.v4beta1.ParseResumeOptions.Builder,
- com.google.cloud.talent.v4beta1.ParseResumeOptionsOrBuilder>
- getOptionsFieldBuilder() {
- if (optionsBuilder_ == null) {
- optionsBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.talent.v4beta1.ParseResumeOptions,
- com.google.cloud.talent.v4beta1.ParseResumeOptions.Builder,
- com.google.cloud.talent.v4beta1.ParseResumeOptionsOrBuilder>(
- getOptions(), getParentForChildren(), isClean());
- options_ = null;
- }
- return optionsBuilder_;
- }
-
- @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.ParseResumeRequest)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ParseResumeRequest)
- private static final com.google.cloud.talent.v4beta1.ParseResumeRequest DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ParseResumeRequest();
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeRequest getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * Required. - * The resource name of the project. - * 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. - * The format is "projects/{project_id}", for example, - * "projects/api-test-project". - *- * - *
string parent = 1;
- */
- com.google.protobuf.ByteString getParentBytes();
-
- /**
- *
- *
- * - * Required. - * The bytes of the resume file in common format, for example, PDF, TXT. - * UTF-8 encoding is required if the resume is text-based, otherwise an error - * is thrown. - *- * - *
bytes resume = 2;
- */
- com.google.protobuf.ByteString getResume();
-
- /**
- *
- *
- * - * Optional. - * The region code indicating where the resume is from. Values - * are as per the ISO-3166-2 format. For example, US, FR, DE. - * This value is optional, but providing this value improves the resume - * parsing quality and performance. - * An error is thrown if the regionCode is invalid. - *- * - *
string region_code = 3;
- */
- java.lang.String getRegionCode();
- /**
- *
- *
- * - * Optional. - * The region code indicating where the resume is from. Values - * are as per the ISO-3166-2 format. For example, US, FR, DE. - * This value is optional, but providing this value improves the resume - * parsing quality and performance. - * An error is thrown if the regionCode is invalid. - *- * - *
string region_code = 3;
- */
- com.google.protobuf.ByteString getRegionCodeBytes();
-
- /**
- *
- *
- * - * Optional. - * The language code of contents in the resume. - * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". - * For more information, see - * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: - * class="external" target="_blank" }. - *- * - *
string language_code = 4;
- */
- java.lang.String getLanguageCode();
- /**
- *
- *
- * - * Optional. - * The language code of contents in the resume. - * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". - * For more information, see - * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: - * class="external" target="_blank" }. - *- * - *
string language_code = 4;
- */
- com.google.protobuf.ByteString getLanguageCodeBytes();
-
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- boolean hasOptions();
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- com.google.cloud.talent.v4beta1.ParseResumeOptions getOptions();
- /**
- *
- *
- * - * Optional. - * Options that change how the resume parse is performed. - *- * - *
.google.cloud.talent.v4beta1.ParseResumeOptions options = 5;
- */
- com.google.cloud.talent.v4beta1.ParseResumeOptionsOrBuilder getOptionsOrBuilder();
-}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ParseResumeResponse.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ParseResumeResponse.java
deleted file mode 100644
index aa52350520c9..000000000000
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ParseResumeResponse.java
+++ /dev/null
@@ -1,865 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/talent/v4beta1/resume_service.proto
-
-package com.google.cloud.talent.v4beta1;
-
-/**
- *
- *
- * - * Parse resume response. - *- * - * Protobuf type {@code google.cloud.talent.v4beta1.ParseResumeResponse} - */ -public final class ParseResumeResponse extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ParseResumeResponse) - ParseResumeResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ParseResumeResponse.newBuilder() to construct. - private ParseResumeResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - - private ParseResumeResponse() { - rawText_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ParseResumeResponse( - 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.cloud.talent.v4beta1.Profile.Builder subBuilder = null; - if (profile_ != null) { - subBuilder = profile_.toBuilder(); - } - profile_ = - input.readMessage( - com.google.cloud.talent.v4beta1.Profile.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(profile_); - profile_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - rawText_ = 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.ResumeServiceProto - .internal_static_google_cloud_talent_v4beta1_ParseResumeResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.ResumeServiceProto - .internal_static_google_cloud_talent_v4beta1_ParseResumeResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ParseResumeResponse.class, - com.google.cloud.talent.v4beta1.ParseResumeResponse.Builder.class); - } - - public static final int PROFILE_FIELD_NUMBER = 1; - private com.google.cloud.talent.v4beta1.Profile profile_; - /** - * - * - *
- * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- public boolean hasProfile() {
- return profile_ != null;
- }
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- public com.google.cloud.talent.v4beta1.Profile getProfile() {
- return profile_ == null
- ? com.google.cloud.talent.v4beta1.Profile.getDefaultInstance()
- : profile_;
- }
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- public com.google.cloud.talent.v4beta1.ProfileOrBuilder getProfileOrBuilder() {
- return getProfile();
- }
-
- public static final int RAW_TEXT_FIELD_NUMBER = 2;
- private volatile java.lang.Object rawText_;
- /**
- *
- *
- * - * Raw text from resume. - *- * - *
string raw_text = 2;
- */
- public java.lang.String getRawText() {
- java.lang.Object ref = rawText_;
- 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();
- rawText_ = s;
- return s;
- }
- }
- /**
- *
- *
- * - * Raw text from resume. - *- * - *
string raw_text = 2;
- */
- public com.google.protobuf.ByteString getRawTextBytes() {
- java.lang.Object ref = rawText_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- rawText_ = 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 (profile_ != null) {
- output.writeMessage(1, getProfile());
- }
- if (!getRawTextBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, rawText_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (profile_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProfile());
- }
- if (!getRawTextBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rawText_);
- }
- 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.ParseResumeResponse)) {
- return super.equals(obj);
- }
- com.google.cloud.talent.v4beta1.ParseResumeResponse other =
- (com.google.cloud.talent.v4beta1.ParseResumeResponse) obj;
-
- boolean result = true;
- result = result && (hasProfile() == other.hasProfile());
- if (hasProfile()) {
- result = result && getProfile().equals(other.getProfile());
- }
- result = result && getRawText().equals(other.getRawText());
- 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 (hasProfile()) {
- hash = (37 * hash) + PROFILE_FIELD_NUMBER;
- hash = (53 * hash) + getProfile().hashCode();
- }
- hash = (37 * hash) + RAW_TEXT_FIELD_NUMBER;
- hash = (53 * hash) + getRawText().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeResponse parseFrom(
- java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeResponse 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.ParseResumeResponse parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeResponse parseFrom(
- com.google.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.ParseResumeResponse parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeResponse 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.ParseResumeResponse parseFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeResponse 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.ParseResumeResponse parseDelimitedFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeResponse 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.ParseResumeResponse 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.ParseResumeResponse 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.ParseResumeResponse 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;
- }
- /**
- *
- *
- * - * Parse resume response. - *- * - * Protobuf type {@code google.cloud.talent.v4beta1.ParseResumeResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
- * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- public boolean hasProfile() {
- return profileBuilder_ != null || profile_ != null;
- }
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- public com.google.cloud.talent.v4beta1.Profile getProfile() {
- if (profileBuilder_ == null) {
- return profile_ == null
- ? com.google.cloud.talent.v4beta1.Profile.getDefaultInstance()
- : profile_;
- } else {
- return profileBuilder_.getMessage();
- }
- }
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- public Builder setProfile(com.google.cloud.talent.v4beta1.Profile value) {
- if (profileBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- profile_ = value;
- onChanged();
- } else {
- profileBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- public Builder setProfile(com.google.cloud.talent.v4beta1.Profile.Builder builderForValue) {
- if (profileBuilder_ == null) {
- profile_ = builderForValue.build();
- onChanged();
- } else {
- profileBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- public Builder mergeProfile(com.google.cloud.talent.v4beta1.Profile value) {
- if (profileBuilder_ == null) {
- if (profile_ != null) {
- profile_ =
- com.google.cloud.talent.v4beta1.Profile.newBuilder(profile_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- profile_ = value;
- }
- onChanged();
- } else {
- profileBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- public Builder clearProfile() {
- if (profileBuilder_ == null) {
- profile_ = null;
- onChanged();
- } else {
- profile_ = null;
- profileBuilder_ = null;
- }
-
- return this;
- }
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- public com.google.cloud.talent.v4beta1.Profile.Builder getProfileBuilder() {
-
- onChanged();
- return getProfileFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- public com.google.cloud.talent.v4beta1.ProfileOrBuilder getProfileOrBuilder() {
- if (profileBuilder_ != null) {
- return profileBuilder_.getMessageOrBuilder();
- } else {
- return profile_ == null
- ? com.google.cloud.talent.v4beta1.Profile.getDefaultInstance()
- : profile_;
- }
- }
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.talent.v4beta1.Profile,
- com.google.cloud.talent.v4beta1.Profile.Builder,
- com.google.cloud.talent.v4beta1.ProfileOrBuilder>
- getProfileFieldBuilder() {
- if (profileBuilder_ == null) {
- profileBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.talent.v4beta1.Profile,
- com.google.cloud.talent.v4beta1.Profile.Builder,
- com.google.cloud.talent.v4beta1.ProfileOrBuilder>(
- getProfile(), getParentForChildren(), isClean());
- profile_ = null;
- }
- return profileBuilder_;
- }
-
- private java.lang.Object rawText_ = "";
- /**
- *
- *
- * - * Raw text from resume. - *- * - *
string raw_text = 2;
- */
- public java.lang.String getRawText() {
- java.lang.Object ref = rawText_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- rawText_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- *
- * - * Raw text from resume. - *- * - *
string raw_text = 2;
- */
- public com.google.protobuf.ByteString getRawTextBytes() {
- java.lang.Object ref = rawText_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- rawText_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- *
- * - * Raw text from resume. - *- * - *
string raw_text = 2;
- */
- public Builder setRawText(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- rawText_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Raw text from resume. - *- * - *
string raw_text = 2;
- */
- public Builder clearRawText() {
-
- rawText_ = getDefaultInstance().getRawText();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Raw text from resume. - *- * - *
string raw_text = 2;
- */
- public Builder setRawTextBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- rawText_ = 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.ParseResumeResponse)
- }
-
- // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ParseResumeResponse)
- private static final com.google.cloud.talent.v4beta1.ParseResumeResponse DEFAULT_INSTANCE;
-
- static {
- DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ParseResumeResponse();
- }
-
- public static com.google.cloud.talent.v4beta1.ParseResumeResponse getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- boolean hasProfile();
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- com.google.cloud.talent.v4beta1.Profile getProfile();
- /**
- *
- *
- * - * The profile parsed from resume. - *- * - *
.google.cloud.talent.v4beta1.Profile profile = 1;
- */
- com.google.cloud.talent.v4beta1.ProfileOrBuilder getProfileOrBuilder();
-
- /**
- *
- *
- * - * Raw text from resume. - *- * - *
string raw_text = 2;
- */
- java.lang.String getRawText();
- /**
- *
- *
- * - * Raw text from resume. - *- * - *
string raw_text = 2;
- */
- com.google.protobuf.ByteString getRawTextBytes();
-}
diff --git a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Profile.java b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Profile.java
index 96236e9874e4..5cae9bcf923e 100644
--- a/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Profile.java
+++ b/google-api-grpc/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Profile.java
@@ -9,8 +9,8 @@
* * A resource that represents the profile for a job candidate (also referred to * as a "single-source profile"). A profile belongs to a - * [Tenant][google.cloud.talent.v4beta1.Tenant], which is an isolated instance - * of the customer that owns the profile. + * [Company][google.cloud.talent.v4beta1.Company], which is the + * company/organization that owns the profile. ** * Protobuf type {@code google.cloud.talent.v4beta1.Profile} @@ -45,8 +45,8 @@ private Profile() { publications_ = java.util.Collections.emptyList(); patents_ = java.util.Collections.emptyList(); certifications_ = java.util.Collections.emptyList(); - jobApplications_ = java.util.Collections.emptyList(); - recruitingNotes_ = java.util.Collections.emptyList(); + applications_ = com.google.protobuf.LazyStringArrayList.EMPTY; + assignments_ = com.google.protobuf.LazyStringArrayList.EMPTY; processed_ = false; keywordSnippet_ = ""; } @@ -315,30 +315,6 @@ private Profile( com.google.cloud.talent.v4beta1.Certification.parser(), extensionRegistry)); break; } - case 194: - { - if (!((mutable_bitField0_ & 0x00400000) == 0x00400000)) { - jobApplications_ = - new java.util.ArrayList
- * Optional. - * The job applications of the candidate. + * Output only. The resource names of the candidate's applications. ** - *
repeated .google.cloud.talent.v4beta1.JobApplication job_applications = 24;
+ * repeated string applications = 47;
*/
- public java.util.List- * Optional. - * The job applications of the candidate. + * Output only. The resource names of the candidate's applications. ** - *
repeated .google.cloud.talent.v4beta1.JobApplication job_applications = 24;
+ * repeated string applications = 47;
*/
- public java.util.List extends com.google.cloud.talent.v4beta1.JobApplicationOrBuilder>
- getJobApplicationsOrBuilderList() {
- return jobApplications_;
+ public int getApplicationsCount() {
+ return applications_.size();
}
/**
*
*
* - * Optional. - * The job applications of the candidate. + * Output only. The resource names of the candidate's applications. ** - *
repeated .google.cloud.talent.v4beta1.JobApplication job_applications = 24;
+ * repeated string applications = 47;
*/
- public int getJobApplicationsCount() {
- return jobApplications_.size();
+ public java.lang.String getApplications(int index) {
+ return applications_.get(index);
}
/**
*
*
* - * Optional. - * The job applications of the candidate. + * Output only. The resource names of the candidate's applications. ** - *
repeated .google.cloud.talent.v4beta1.JobApplication job_applications = 24;
+ * repeated string applications = 47;
*/
- public com.google.cloud.talent.v4beta1.JobApplication getJobApplications(int index) {
- return jobApplications_.get(index);
- }
- /**
- *
- *
- * - * Optional. - * The job applications of the candidate. - *- * - *
repeated .google.cloud.talent.v4beta1.JobApplication job_applications = 24;
- */
- public com.google.cloud.talent.v4beta1.JobApplicationOrBuilder getJobApplicationsOrBuilder(
- int index) {
- return jobApplications_.get(index);
+ public com.google.protobuf.ByteString getApplicationsBytes(int index) {
+ return applications_.getByteString(index);
}
- public static final int RECRUITING_NOTES_FIELD_NUMBER = 25;
- private java.util.List- * Optional. - * The recruiting notes added for the candidate. - * For example, the recruiter can add some unstructured comments for this - * candidate like "this candidate also has experiences in volunteer work". + * Output only. The resource names of the candidate's assignments. ** - *
repeated .google.cloud.talent.v4beta1.RecruitingNote recruiting_notes = 25;
+ * repeated string assignments = 48;
*/
- public java.util.List- * Optional. - * The recruiting notes added for the candidate. - * For example, the recruiter can add some unstructured comments for this - * candidate like "this candidate also has experiences in volunteer work". + * Output only. The resource names of the candidate's assignments. ** - *
repeated .google.cloud.talent.v4beta1.RecruitingNote recruiting_notes = 25;
+ * repeated string assignments = 48;
*/
- public java.util.List extends com.google.cloud.talent.v4beta1.RecruitingNoteOrBuilder>
- getRecruitingNotesOrBuilderList() {
- return recruitingNotes_;
+ public int getAssignmentsCount() {
+ return assignments_.size();
}
/**
*
*
* - * Optional. - * The recruiting notes added for the candidate. - * For example, the recruiter can add some unstructured comments for this - * candidate like "this candidate also has experiences in volunteer work". - *- * - *
repeated .google.cloud.talent.v4beta1.RecruitingNote recruiting_notes = 25;
- */
- public int getRecruitingNotesCount() {
- return recruitingNotes_.size();
- }
- /**
- *
- *
- * - * Optional. - * The recruiting notes added for the candidate. - * For example, the recruiter can add some unstructured comments for this - * candidate like "this candidate also has experiences in volunteer work". + * Output only. The resource names of the candidate's assignments. ** - *
repeated .google.cloud.talent.v4beta1.RecruitingNote recruiting_notes = 25;
+ * repeated string assignments = 48;
*/
- public com.google.cloud.talent.v4beta1.RecruitingNote getRecruitingNotes(int index) {
- return recruitingNotes_.get(index);
+ public java.lang.String getAssignments(int index) {
+ return assignments_.get(index);
}
/**
*
*
* - * Optional. - * The recruiting notes added for the candidate. - * For example, the recruiter can add some unstructured comments for this - * candidate like "this candidate also has experiences in volunteer work". + * Output only. The resource names of the candidate's assignments. ** - *
repeated .google.cloud.talent.v4beta1.RecruitingNote recruiting_notes = 25;
+ * repeated string assignments = 48;
*/
- public com.google.cloud.talent.v4beta1.RecruitingNoteOrBuilder getRecruitingNotesOrBuilder(
- int index) {
- return recruitingNotes_.get(index);
+ public com.google.protobuf.ByteString getAssignmentsBytes(int index) {
+ return assignments_.getByteString(index);
}
public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 26;
@@ -2195,16 +2143,17 @@ public int getCustomAttributesCount() {
* [CustomAttribute][google.cloud.talent.v4beta1.CustomAttribute] for more
* details.
* At most 100 filterable and at most 100 unfilterable keys are supported. If
- * limit is exceeded, an error is thrown.
+ * limit is exceeded, an error is thrown. Custom attributes are `unfilterable`
+ * by default. These are filterable when the `filterable` flag is set to
+ * `true`.
* Numeric custom attributes: each key can only map to one numeric value,
- * otherwise an error is thrown.
+ * otherwise an error is thrown. Client can also filter on numeric custom
+ * attributes using '>', '<' or '=' operators.
* String custom attributes: each key can map up to 50 string values. For
* filterable string value, each value has a byte size of no more than 256B.
* For unfilterable string values, the maximum byte size of a single key is
* 64B. An error is thrown for any request exceeding the limit.
* The maximum total byte size is 10KB.
- * Currently filterable numeric custom attributes are not supported, and
- * they automatically set to unfilterable.
*
*
* map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 26;
@@ -2232,16 +2181,17 @@ public boolean containsCustomAttributes(java.lang.String key) {
* [CustomAttribute][google.cloud.talent.v4beta1.CustomAttribute] for more
* details.
* At most 100 filterable and at most 100 unfilterable keys are supported. If
- * limit is exceeded, an error is thrown.
+ * limit is exceeded, an error is thrown. Custom attributes are `unfilterable`
+ * by default. These are filterable when the `filterable` flag is set to
+ * `true`.
* Numeric custom attributes: each key can only map to one numeric value,
- * otherwise an error is thrown.
+ * otherwise an error is thrown. Client can also filter on numeric custom
+ * attributes using '>', '<' or '=' operators.
* String custom attributes: each key can map up to 50 string values. For
* filterable string value, each value has a byte size of no more than 256B.
* For unfilterable string values, the maximum byte size of a single key is
* 64B. An error is thrown for any request exceeding the limit.
* The maximum total byte size is 10KB.
- * Currently filterable numeric custom attributes are not supported, and
- * they automatically set to unfilterable.
*
*
* map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 26;
@@ -2261,16 +2211,17 @@ public boolean containsCustomAttributes(java.lang.String key) {
* [CustomAttribute][google.cloud.talent.v4beta1.CustomAttribute] for more
* details.
* At most 100 filterable and at most 100 unfilterable keys are supported. If
- * limit is exceeded, an error is thrown.
+ * limit is exceeded, an error is thrown. Custom attributes are `unfilterable`
+ * by default. These are filterable when the `filterable` flag is set to
+ * `true`.
* Numeric custom attributes: each key can only map to one numeric value,
- * otherwise an error is thrown.
+ * otherwise an error is thrown. Client can also filter on numeric custom
+ * attributes using '>', '<' or '=' operators.
* String custom attributes: each key can map up to 50 string values. For
* filterable string value, each value has a byte size of no more than 256B.
* For unfilterable string values, the maximum byte size of a single key is
* 64B. An error is thrown for any request exceeding the limit.
* The maximum total byte size is 10KB.
- * Currently filterable numeric custom attributes are not supported, and
- * they automatically set to unfilterable.
*
*
* map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 26;
@@ -2295,16 +2246,17 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefa
* [CustomAttribute][google.cloud.talent.v4beta1.CustomAttribute] for more
* details.
* At most 100 filterable and at most 100 unfilterable keys are supported. If
- * limit is exceeded, an error is thrown.
+ * limit is exceeded, an error is thrown. Custom attributes are `unfilterable`
+ * by default. These are filterable when the `filterable` flag is set to
+ * `true`.
* Numeric custom attributes: each key can only map to one numeric value,
- * otherwise an error is thrown.
+ * otherwise an error is thrown. Client can also filter on numeric custom
+ * attributes using '>', '<' or '=' operators.
* String custom attributes: each key can map up to 50 string values. For
* filterable string value, each value has a byte size of no more than 256B.
* For unfilterable string values, the maximum byte size of a single key is
* 64B. An error is thrown for any request exceeding the limit.
* The maximum total byte size is 10KB.
- * Currently filterable numeric custom attributes are not supported, and
- * they automatically set to unfilterable.
*
*
* map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 26;
@@ -2463,12 +2415,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < certifications_.size(); i++) {
output.writeMessage(23, certifications_.get(i));
}
- for (int i = 0; i < jobApplications_.size(); i++) {
- output.writeMessage(24, jobApplications_.get(i));
- }
- for (int i = 0; i < recruitingNotes_.size(); i++) {
- output.writeMessage(25, recruitingNotes_.get(i));
- }
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetCustomAttributes(), CustomAttributesDefaultEntryHolder.defaultEntry, 26);
if (processed_ != false) {
@@ -2477,6 +2423,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!getKeywordSnippetBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 28, keywordSnippet_);
}
+ for (int i = 0; i < applications_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 47, applications_.getRaw(i));
+ }
+ for (int i = 0; i < assignments_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 48, assignments_.getRaw(i));
+ }
unknownFields.writeTo(output);
}
@@ -2556,12 +2508,6 @@ public int getSerializedSize() {
for (int i = 0; i < certifications_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, certifications_.get(i));
}
- for (int i = 0; i < jobApplications_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, jobApplications_.get(i));
- }
- for (int i = 0; i < recruitingNotes_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, recruitingNotes_.get(i));
- }
for (java.util.Map.Entry
entry : internalGetCustomAttributes().getMap().entrySet()) {
com.google.protobuf.MapEntry<
@@ -2580,6 +2526,22 @@ public int getSerializedSize() {
if (!getKeywordSnippetBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, keywordSnippet_);
}
+ {
+ int dataSize = 0;
+ for (int i = 0; i < applications_.size(); i++) {
+ dataSize += computeStringSizeNoTag(applications_.getRaw(i));
+ }
+ size += dataSize;
+ size += 2 * getApplicationsList().size();
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < assignments_.size(); i++) {
+ dataSize += computeStringSizeNoTag(assignments_.getRaw(i));
+ }
+ size += dataSize;
+ size += 2 * getAssignmentsList().size();
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -2627,8 +2589,8 @@ public boolean equals(final java.lang.Object obj) {
result = result && getPublicationsList().equals(other.getPublicationsList());
result = result && getPatentsList().equals(other.getPatentsList());
result = result && getCertificationsList().equals(other.getCertificationsList());
- result = result && getJobApplicationsList().equals(other.getJobApplicationsList());
- result = result && getRecruitingNotesList().equals(other.getRecruitingNotesList());
+ result = result && getApplicationsList().equals(other.getApplicationsList());
+ result = result && getAssignmentsList().equals(other.getAssignmentsList());
result = result && internalGetCustomAttributes().equals(other.internalGetCustomAttributes());
result = result && (getProcessed() == other.getProcessed());
result = result && getKeywordSnippet().equals(other.getKeywordSnippet());
@@ -2719,13 +2681,13 @@ public int hashCode() {
hash = (37 * hash) + CERTIFICATIONS_FIELD_NUMBER;
hash = (53 * hash) + getCertificationsList().hashCode();
}
- if (getJobApplicationsCount() > 0) {
- hash = (37 * hash) + JOB_APPLICATIONS_FIELD_NUMBER;
- hash = (53 * hash) + getJobApplicationsList().hashCode();
+ if (getApplicationsCount() > 0) {
+ hash = (37 * hash) + APPLICATIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getApplicationsList().hashCode();
}
- if (getRecruitingNotesCount() > 0) {
- hash = (37 * hash) + RECRUITING_NOTES_FIELD_NUMBER;
- hash = (53 * hash) + getRecruitingNotesList().hashCode();
+ if (getAssignmentsCount() > 0) {
+ hash = (37 * hash) + ASSIGNMENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getAssignmentsList().hashCode();
}
if (!internalGetCustomAttributes().getMap().isEmpty()) {
hash = (37 * hash) + CUSTOM_ATTRIBUTES_FIELD_NUMBER;
@@ -2841,8 +2803,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* A resource that represents the profile for a job candidate (also referred to
* as a "single-source profile"). A profile belongs to a
- * [Tenant][google.cloud.talent.v4beta1.Tenant], which is an isolated instance
- * of the customer that owns the profile.
+ * [Company][google.cloud.talent.v4beta1.Company], which is the
+ * company/organization that owns the profile.
*
*
* Protobuf type {@code google.cloud.talent.v4beta1.Profile}
@@ -2911,8 +2873,6 @@ private void maybeForceBuilderInitialization() {
getPublicationsFieldBuilder();
getPatentsFieldBuilder();
getCertificationsFieldBuilder();
- getJobApplicationsFieldBuilder();
- getRecruitingNotesFieldBuilder();
}
}
@@ -3027,18 +2987,10 @@ public Builder clear() {
} else {
certificationsBuilder_.clear();
}
- if (jobApplicationsBuilder_ == null) {
- jobApplications_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00400000);
- } else {
- jobApplicationsBuilder_.clear();
- }
- if (recruitingNotesBuilder_ == null) {
- recruitingNotes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00800000);
- } else {
- recruitingNotesBuilder_.clear();
- }
+ applications_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00400000);
+ assignments_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00800000);
internalGetMutableCustomAttributes().clear();
processed_ = false;
@@ -3211,24 +3163,16 @@ public com.google.cloud.talent.v4beta1.Profile buildPartial() {
} else {
result.certifications_ = certificationsBuilder_.build();
}
- if (jobApplicationsBuilder_ == null) {
- if (((bitField0_ & 0x00400000) == 0x00400000)) {
- jobApplications_ = java.util.Collections.unmodifiableList(jobApplications_);
- bitField0_ = (bitField0_ & ~0x00400000);
- }
- result.jobApplications_ = jobApplications_;
- } else {
- result.jobApplications_ = jobApplicationsBuilder_.build();
+ if (((bitField0_ & 0x00400000) == 0x00400000)) {
+ applications_ = applications_.getUnmodifiableView();
+ bitField0_ = (bitField0_ & ~0x00400000);
}
- if (recruitingNotesBuilder_ == null) {
- if (((bitField0_ & 0x00800000) == 0x00800000)) {
- recruitingNotes_ = java.util.Collections.unmodifiableList(recruitingNotes_);
- bitField0_ = (bitField0_ & ~0x00800000);
- }
- result.recruitingNotes_ = recruitingNotes_;
- } else {
- result.recruitingNotes_ = recruitingNotesBuilder_.build();
+ result.applications_ = applications_;
+ if (((bitField0_ & 0x00800000) == 0x00800000)) {
+ assignments_ = assignments_.getUnmodifiableView();
+ bitField0_ = (bitField0_ & ~0x00800000);
}
+ result.assignments_ = assignments_;
result.customAttributes_ = internalGetCustomAttributes();
result.customAttributes_.makeImmutable();
result.processed_ = processed_;
@@ -3667,59 +3611,25 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Profile other) {
}
}
}
- if (jobApplicationsBuilder_ == null) {
- if (!other.jobApplications_.isEmpty()) {
- if (jobApplications_.isEmpty()) {
- jobApplications_ = other.jobApplications_;
- bitField0_ = (bitField0_ & ~0x00400000);
- } else {
- ensureJobApplicationsIsMutable();
- jobApplications_.addAll(other.jobApplications_);
- }
- onChanged();
- }
- } else {
- if (!other.jobApplications_.isEmpty()) {
- if (jobApplicationsBuilder_.isEmpty()) {
- jobApplicationsBuilder_.dispose();
- jobApplicationsBuilder_ = null;
- jobApplications_ = other.jobApplications_;
- bitField0_ = (bitField0_ & ~0x00400000);
- jobApplicationsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
- ? getJobApplicationsFieldBuilder()
- : null;
- } else {
- jobApplicationsBuilder_.addAllMessages(other.jobApplications_);
- }
+ if (!other.applications_.isEmpty()) {
+ if (applications_.isEmpty()) {
+ applications_ = other.applications_;
+ bitField0_ = (bitField0_ & ~0x00400000);
+ } else {
+ ensureApplicationsIsMutable();
+ applications_.addAll(other.applications_);
}
+ onChanged();
}
- if (recruitingNotesBuilder_ == null) {
- if (!other.recruitingNotes_.isEmpty()) {
- if (recruitingNotes_.isEmpty()) {
- recruitingNotes_ = other.recruitingNotes_;
- bitField0_ = (bitField0_ & ~0x00800000);
- } else {
- ensureRecruitingNotesIsMutable();
- recruitingNotes_.addAll(other.recruitingNotes_);
- }
- onChanged();
- }
- } else {
- if (!other.recruitingNotes_.isEmpty()) {
- if (recruitingNotesBuilder_.isEmpty()) {
- recruitingNotesBuilder_.dispose();
- recruitingNotesBuilder_ = null;
- recruitingNotes_ = other.recruitingNotes_;
- bitField0_ = (bitField0_ & ~0x00800000);
- recruitingNotesBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
- ? getRecruitingNotesFieldBuilder()
- : null;
- } else {
- recruitingNotesBuilder_.addAllMessages(other.recruitingNotes_);
- }
+ if (!other.assignments_.isEmpty()) {
+ if (assignments_.isEmpty()) {
+ assignments_ = other.assignments_;
+ bitField0_ = (bitField0_ & ~0x00800000);
+ } else {
+ ensureAssignmentsIsMutable();
+ assignments_.addAll(other.assignments_);
}
+ onChanged();
}
internalGetMutableCustomAttributes().mergeFrom(other.internalGetCustomAttributes());
if (other.getProcessed() != false) {
@@ -10567,797 +10477,291 @@ public com.google.cloud.talent.v4beta1.Certification.Builder addCertificationsBu
return certificationsBuilder_;
}
- private java.util.List jobApplications_ =
- java.util.Collections.emptyList();
+ private com.google.protobuf.LazyStringList applications_ =
+ com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureJobApplicationsIsMutable() {
+ private void ensureApplicationsIsMutable() {
if (!((bitField0_ & 0x00400000) == 0x00400000)) {
- jobApplications_ =
- new java.util.ArrayList