() {
+ public KeywordMatchMode findValueByNumber(int number) {
+ return KeywordMatchMode.forNumber(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
+ return getDescriptor().getValues().get(ordinal());
+ }
+
+ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+ return getDescriptor();
+ }
+
+ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+ return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(2);
+ }
+
+ private static final KeywordMatchMode[] VALUES = values();
+
+ public static KeywordMatchMode valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+ }
+ if (desc.getIndex() == -1) {
+ return UNRECOGNIZED;
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int value;
+
+ private KeywordMatchMode(int value) {
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode)
+ }
+
public interface CustomRankingInfoOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo)
@@ -641,7 +927,7 @@ public interface CustomRankingInfoOrBuilder
* the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key,
* integer/double value or an expression that can be evaluated to a number.
* Parenthesis are supported to adjust calculation precedence. The
- * expression must be < 100 characters in length.
+ * expression must be < 200 characters in length.
* The expression is considered invalid for a job if the expression
* references custom attributes that are not populated on the job or if the
* expression results in a divide by zero. If an expression is invalid for a
@@ -668,7 +954,7 @@ public interface CustomRankingInfoOrBuilder
* the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key,
* integer/double value or an expression that can be evaluated to a number.
* Parenthesis are supported to adjust calculation precedence. The
- * expression must be < 100 characters in length.
+ * expression must be < 200 characters in length.
* The expression is considered invalid for a job if the expression
* references custom attributes that are not populated on the job or if the
* expression results in a divide by zero. If an expression is invalid for a
@@ -1125,7 +1411,7 @@ public int getImportanceLevelValue() {
* the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key,
* integer/double value or an expression that can be evaluated to a number.
* Parenthesis are supported to adjust calculation precedence. The
- * expression must be < 100 characters in length.
+ * expression must be < 200 characters in length.
* The expression is considered invalid for a job if the expression
* references custom attributes that are not populated on the job or if the
* expression results in a divide by zero. If an expression is invalid for a
@@ -1163,7 +1449,7 @@ public java.lang.String getRankingExpression() {
* the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key,
* integer/double value or an expression that can be evaluated to a number.
* Parenthesis are supported to adjust calculation precedence. The
- * expression must be < 100 characters in length.
+ * expression must be < 200 characters in length.
* The expression is considered invalid for a job if the expression
* references custom attributes that are not populated on the job or if the
* expression results in a divide by zero. If an expression is invalid for a
@@ -1673,7 +1959,7 @@ public Builder clearImportanceLevel() {
* the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key,
* integer/double value or an expression that can be evaluated to a number.
* Parenthesis are supported to adjust calculation precedence. The
- * expression must be < 100 characters in length.
+ * expression must be < 200 characters in length.
* The expression is considered invalid for a job if the expression
* references custom attributes that are not populated on the job or if the
* expression results in a divide by zero. If an expression is invalid for a
@@ -1710,7 +1996,7 @@ public java.lang.String getRankingExpression() {
* the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key,
* integer/double value or an expression that can be evaluated to a number.
* Parenthesis are supported to adjust calculation precedence. The
- * expression must be < 100 characters in length.
+ * expression must be < 200 characters in length.
* The expression is considered invalid for a job if the expression
* references custom attributes that are not populated on the job or if the
* expression results in a divide by zero. If an expression is invalid for a
@@ -1747,7 +2033,7 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() {
* the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key,
* integer/double value or an expression that can be evaluated to a number.
* Parenthesis are supported to adjust calculation precedence. The
- * expression must be < 100 characters in length.
+ * expression must be < 200 characters in length.
* The expression is considered invalid for a job if the expression
* references custom attributes that are not populated on the job or if the
* expression results in a divide by zero. If an expression is invalid for a
@@ -1783,7 +2069,7 @@ public Builder setRankingExpression(java.lang.String value) {
* the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key,
* integer/double value or an expression that can be evaluated to a number.
* Parenthesis are supported to adjust calculation precedence. The
- * expression must be < 100 characters in length.
+ * expression must be < 200 characters in length.
* The expression is considered invalid for a job if the expression
* references custom attributes that are not populated on the job or if the
* expression results in a divide by zero. If an expression is invalid for a
@@ -1815,7 +2101,7 @@ public Builder clearRankingExpression() {
* the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key,
* integer/double value or an expression that can be evaluated to a number.
* Parenthesis are supported to adjust calculation precedence. The
- * expression must be < 100 characters in length.
+ * expression must be < 200 characters in length.
* The expression is considered invalid for a job if the expression
* references custom attributes that are not populated on the job or if the
* expression results in a divide by zero. If an expression is invalid for a
@@ -2992,6 +3278,12 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomR
*
*
*
+ * This field is deprecated. Please use
+ * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
+ * To migrate, disable_keyword_match set to false maps to
+ * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
+ * true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
+ * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
* Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
* [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
* [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
@@ -3010,15 +3302,62 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomR
* Defaults to false.
*
*
- * bool disable_keyword_match = 16;
+ * bool disable_keyword_match = 16 [deprecated = true];
*
* @return The disableKeywordMatch.
*/
@java.lang.Override
+ @java.lang.Deprecated
public boolean getDisableKeywordMatch() {
return disableKeywordMatch_;
}
+ public static final int KEYWORD_MATCH_MODE_FIELD_NUMBER = 18;
+ private int keywordMatchMode_;
+ /**
+ *
+ *
+ *
+ * Controls what keyword match options to use. If both keyword_match_mode and
+ * disable_keyword_match are set, keyword_match_mode will take precedence.
+ * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+ * is specified.
+ *
+ *
+ * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18;
+ *
+ *
+ * @return The enum numeric value on the wire for keywordMatchMode.
+ */
+ @java.lang.Override
+ public int getKeywordMatchModeValue() {
+ return keywordMatchMode_;
+ }
+ /**
+ *
+ *
+ *
+ * Controls what keyword match options to use. If both keyword_match_mode and
+ * disable_keyword_match are set, keyword_match_mode will take precedence.
+ * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+ * is specified.
+ *
+ *
+ * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18;
+ *
+ *
+ * @return The keywordMatchMode.
+ */
+ @java.lang.Override
+ public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result =
+ com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_);
+ return result == null
+ ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED
+ : result;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -3080,6 +3419,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (disableKeywordMatch_ != false) {
output.writeBool(16, disableKeywordMatch_);
}
+ if (keywordMatchMode_
+ != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode
+ .KEYWORD_MATCH_MODE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(18, keywordMatchMode_);
+ }
unknownFields.writeTo(output);
}
@@ -3136,6 +3481,12 @@ public int getSerializedSize() {
if (disableKeywordMatch_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, disableKeywordMatch_);
}
+ if (keywordMatchMode_
+ != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode
+ .KEYWORD_MATCH_MODE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, keywordMatchMode_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -3175,6 +3526,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getCustomRankingInfo().equals(other.getCustomRankingInfo())) return false;
}
if (getDisableKeywordMatch() != other.getDisableKeywordMatch()) return false;
+ if (keywordMatchMode_ != other.keywordMatchMode_) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -3222,6 +3574,8 @@ public int hashCode() {
}
hash = (37 * hash) + DISABLE_KEYWORD_MATCH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableKeywordMatch());
+ hash = (37 * hash) + KEYWORD_MATCH_MODE_FIELD_NUMBER;
+ hash = (53 * hash) + keywordMatchMode_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -3413,6 +3767,8 @@ public Builder clear() {
}
disableKeywordMatch_ = false;
+ keywordMatchMode_ = 0;
+
return this;
}
@@ -3475,6 +3831,7 @@ public com.google.cloud.talent.v4.SearchJobsRequest buildPartial() {
result.customRankingInfo_ = customRankingInfoBuilder_.build();
}
result.disableKeywordMatch_ = disableKeywordMatch_;
+ result.keywordMatchMode_ = keywordMatchMode_;
onBuilt();
return result;
}
@@ -3593,6 +3950,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsRequest other) {
if (other.getDisableKeywordMatch() != false) {
setDisableKeywordMatch(other.getDisableKeywordMatch());
}
+ if (other.keywordMatchMode_ != 0) {
+ setKeywordMatchModeValue(other.getKeywordMatchModeValue());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -7168,6 +7528,12 @@ public Builder clearCustomRankingInfo() {
*
*
*
+ * This field is deprecated. Please use
+ * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
+ * To migrate, disable_keyword_match set to false maps to
+ * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
+ * true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
+ * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
* Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
* [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
* [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
@@ -7186,11 +7552,12 @@ public Builder clearCustomRankingInfo() {
* Defaults to false.
*
*
- * bool disable_keyword_match = 16;
+ * bool disable_keyword_match = 16 [deprecated = true];
*
* @return The disableKeywordMatch.
*/
@java.lang.Override
+ @java.lang.Deprecated
public boolean getDisableKeywordMatch() {
return disableKeywordMatch_;
}
@@ -7198,6 +7565,12 @@ public boolean getDisableKeywordMatch() {
*
*
*
+ * This field is deprecated. Please use
+ * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
+ * To migrate, disable_keyword_match set to false maps to
+ * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
+ * true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
+ * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
* Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
* [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
* [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
@@ -7216,11 +7589,12 @@ public boolean getDisableKeywordMatch() {
* Defaults to false.
*
*
- * bool disable_keyword_match = 16;
+ * bool disable_keyword_match = 16 [deprecated = true];
*
* @param value The disableKeywordMatch to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setDisableKeywordMatch(boolean value) {
disableKeywordMatch_ = value;
@@ -7231,6 +7605,12 @@ public Builder setDisableKeywordMatch(boolean value) {
*
*
*
+ * This field is deprecated. Please use
+ * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
+ * To migrate, disable_keyword_match set to false maps to
+ * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
+ * true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
+ * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
* Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
* [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
* [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
@@ -7249,10 +7629,11 @@ public Builder setDisableKeywordMatch(boolean value) {
* Defaults to false.
*
*
- * bool disable_keyword_match = 16;
+ * bool disable_keyword_match = 16 [deprecated = true];
*
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder clearDisableKeywordMatch() {
disableKeywordMatch_ = false;
@@ -7260,6 +7641,120 @@ public Builder clearDisableKeywordMatch() {
return this;
}
+ private int keywordMatchMode_ = 0;
+ /**
+ *
+ *
+ *
+ * Controls what keyword match options to use. If both keyword_match_mode and
+ * disable_keyword_match are set, keyword_match_mode will take precedence.
+ * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+ * is specified.
+ *
+ *
+ * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18;
+ *
+ *
+ * @return The enum numeric value on the wire for keywordMatchMode.
+ */
+ @java.lang.Override
+ public int getKeywordMatchModeValue() {
+ return keywordMatchMode_;
+ }
+ /**
+ *
+ *
+ *
+ * Controls what keyword match options to use. If both keyword_match_mode and
+ * disable_keyword_match are set, keyword_match_mode will take precedence.
+ * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+ * is specified.
+ *
+ *
+ * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18;
+ *
+ *
+ * @param value The enum numeric value on the wire for keywordMatchMode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setKeywordMatchModeValue(int value) {
+
+ keywordMatchMode_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Controls what keyword match options to use. If both keyword_match_mode and
+ * disable_keyword_match are set, keyword_match_mode will take precedence.
+ * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+ * is specified.
+ *
+ *
+ * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18;
+ *
+ *
+ * @return The keywordMatchMode.
+ */
+ @java.lang.Override
+ public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result =
+ com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_);
+ return result == null
+ ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ *
+ * Controls what keyword match options to use. If both keyword_match_mode and
+ * disable_keyword_match are set, keyword_match_mode will take precedence.
+ * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+ * is specified.
+ *
+ *
+ * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18;
+ *
+ *
+ * @param value The keywordMatchMode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setKeywordMatchMode(
+ com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ keywordMatchMode_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Controls what keyword match options to use. If both keyword_match_mode and
+ * disable_keyword_match are set, keyword_match_mode will take precedence.
+ * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+ * is specified.
+ *
+ *
+ * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18;
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearKeywordMatchMode() {
+
+ keywordMatchMode_ = 0;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java
index c367297e..c56c1091 100644
--- a/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java
+++ b/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java
@@ -937,6 +937,12 @@ public interface SearchJobsRequestOrBuilder
*
*
*
+ * This field is deprecated. Please use
+ * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
+ * To migrate, disable_keyword_match set to false maps to
+ * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
+ * true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
+ * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
* Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
* [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
* [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
@@ -955,9 +961,43 @@ public interface SearchJobsRequestOrBuilder
* Defaults to false.
*
*
- * bool disable_keyword_match = 16;
+ * bool disable_keyword_match = 16 [deprecated = true];
*
* @return The disableKeywordMatch.
*/
+ @java.lang.Deprecated
boolean getDisableKeywordMatch();
+
+ /**
+ *
+ *
+ *
+ * Controls what keyword match options to use. If both keyword_match_mode and
+ * disable_keyword_match are set, keyword_match_mode will take precedence.
+ * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+ * is specified.
+ *
+ *
+ * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18;
+ *
+ *
+ * @return The enum numeric value on the wire for keywordMatchMode.
+ */
+ int getKeywordMatchModeValue();
+ /**
+ *
+ *
+ *
+ * Controls what keyword match options to use. If both keyword_match_mode and
+ * disable_keyword_match are set, keyword_match_mode will take precedence.
+ * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+ * is specified.
+ *
+ *
+ * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18;
+ *
+ *
+ * @return The keywordMatchMode.
+ */
+ com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode();
}
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
index d43e013f..9035f6ee 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
index c6b61a2c..4c1bd857 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
index 54ee4800..94dcd126 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
index 73af1e87..e4e6adf1 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
index 874228e1..ef3a40f4 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
index 0f181367..6ba11dee 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
index 5ead1a7c..7eddc93c 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
index df4fbbb4..cc6f7273 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
index f3a3a277..f39df6ac 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
index beb80176..26d2cf96 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -383,7 +383,7 @@ message SearchJobsRequest {
// integer/double value or an expression that can be evaluated to a number.
//
// Parenthesis are supported to adjust calculation precedence. The
- // expression must be < 100 characters in length.
+ // expression must be < 200 characters in length.
//
// The expression is considered invalid for a job if the expression
// references custom attributes that are not populated on the job or if the
@@ -420,6 +420,11 @@ message SearchJobsRequest {
// clustered so that only one representative job of the cluster is
// displayed to the job seeker higher up in the results, with the other jobs
// being displayed lower down in the results.
+ //
+ // If you are using pageToken to page through the result set,
+ // latency might be lower but we can't guarantee that all results are
+ // returned. If you are using page offset, latency might be higher but all
+ // results are returned.
enum DiversificationLevel {
// The diversification level isn't specified.
DIVERSIFICATION_LEVEL_UNSPECIFIED = 0;
@@ -431,11 +436,57 @@ message SearchJobsRequest {
// Default diversifying behavior. The result list is ordered so that
// highly similar results are pushed to the end of the last page of search
- // results. If you are using pageToken to page through the result set,
- // latency might be lower but we can't guarantee that all results are
- // returned. If you are using page offset, latency might be higher but all
- // results are returned.
+ // results.
SIMPLE = 2;
+
+ // Only one job from the same company will be shown at once, other jobs
+ // under same company are pushed to the end of the last page of search
+ // result.
+ ONE_PER_COMPANY = 3;
+
+ // Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
+ // same company to be shown at once, the other jobs under same company are
+ // pushed to the end of the last page of search result.
+ TWO_PER_COMPANY = 4;
+
+ // The result list is ordered such that somewhat similar results are pushed
+ // to the end of the last page of the search results. This option is
+ // recommended if SIMPLE diversification does not diversify enough.
+ DIVERSIFY_BY_LOOSER_SIMILARITY = 5;
+ }
+
+ // Controls what keyword matching behavior the search has. When keyword
+ // matching is enabled, a keyword match returns jobs that may not match given
+ // category filters when there are matching keywords. For example, for the
+ // query "program manager" with KeywordMatchMode set to KEYWORD_MATCH_ALL, a
+ // job posting with the title "software developer," which doesn't fall into
+ // "program manager" ontology, and "program manager" appearing in its
+ // description will be surfaced.
+ //
+ // For queries like "cloud" that don't contain title or
+ // location specific ontology, jobs with "cloud" keyword matches are returned
+ // regardless of this enum's value.
+ //
+ // Use [Company.keyword_searchable_job_custom_attributes][google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes] if
+ // company-specific globally matched custom field/attribute string values are
+ // needed. Enabling keyword match improves recall of subsequent search
+ // requests.
+ enum KeywordMatchMode {
+ // The keyword match option isn't specified. Defaults to
+ // [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
+ KEYWORD_MATCH_MODE_UNSPECIFIED = 0;
+
+ // Disables keyword matching.
+ KEYWORD_MATCH_DISABLED = 1;
+
+ // Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title],
+ // [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
+ // [Job.qualifications][google.cloud.talent.v4.Job.qualifications], and keyword searchable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes]
+ // fields.
+ KEYWORD_MATCH_ALL = 2;
+
+ // Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
+ KEYWORD_MATCH_TITLE_ONLY = 3;
}
// Required. The resource name of the tenant to search within.
@@ -658,6 +709,14 @@ message SearchJobsRequest {
// score (determined by API algorithm).
CustomRankingInfo custom_ranking_info = 14;
+ // This field is deprecated. Please use
+ // [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
+ //
+ // To migrate, disable_keyword_match set to false maps to
+ // [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
+ // true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
+ // [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
+ //
// Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
// [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
// [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
@@ -677,7 +736,14 @@ message SearchJobsRequest {
// requests.
//
// Defaults to false.
- bool disable_keyword_match = 16;
+ bool disable_keyword_match = 16 [deprecated = true];
+
+ // Controls what keyword match options to use. If both keyword_match_mode and
+ // disable_keyword_match are set, keyword_match_mode will take precedence.
+ //
+ // Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
+ // is specified.
+ KeywordMatchMode keyword_match_mode = 18;
}
// Response for SearchJob method.
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
index bdfa832d..1246dfb2 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
index a82d094f..7962695c 100644
--- a/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
+++ b/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java
index 09b7f15c..a318049c 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchAutocompleteJobTitle.java
@@ -13,15 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_autocomplete_job_title")
-// sample-metadata:
-// title:
-// description: Complete job title given partial text (autocomplete)
-// usage: gradle run
-// -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchAutocompleteJobTitle
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--query "[partially typed job title]"] [--num_results 5] [--language_code
-// "en-US"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java
index 25154df1..bfaa3fc1 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchCreateJobs.java
@@ -13,24 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("LongRunningRequestAsync",
-// "job_search_batch_create_jobs")
-// sample-metadata:
-// title:
-// description: Batch Create Jobs
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchBatchCreateJobs
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--company_name_one "Company name, e.g.
-// projects/your-project/companies/company-id"] [--requisition_id_one "Job requisition ID, aka
-// Posting ID. Unique per job."] [--title_one "Software Engineer"] [--description_one "This is a
-// description of this wonderful job!"] [--job_application_url_one
-// "https://www.example.org/job-posting/123"] [--address_one "1600 Amphitheatre Parkway, Mountain
-// View, CA 94043"] [--language_code_one "en-US"] [--company_name_two "Company name, e.g.
-// projects/your-project/companies/company-id"] [--requisition_id_two "Job requisition ID, aka
-// Posting ID. Unique per job."] [--title_two "Quality Assurance"] [--description_two "This is a
-// description of this wonderful job!"] [--job_application_url_two
-// "https://www.example.org/job-posting/123"] [--address_two "111 8th Avenue, New York, NY 10011"]
-// [--language_code_two "en-US"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java
index 2ba61f34..2d163d8f 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchDeleteJob.java
@@ -13,13 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_batch_delete_job")
-// sample-metadata:
-// title:
-// description: Batch delete jobs using a filter
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchBatchDeleteJob
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--filter "[Query]"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java
index 08928826..1cf7d028 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchBatchUpdateJobs.java
@@ -13,26 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("LongRunningRequestAsync",
-// "job_search_batch_update_jobs")
-// sample-metadata:
-// title:
-// description: Batch Update Jobs
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchBatchUpdateJobs
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--job_name_one "job name, e.g.
-// projects/your-project/tenants/tenant-id/jobs/job-id"] [--company_name_one "Company name, e.g.
-// projects/your-project/companies/company-id"] [--requisition_id_one "Job requisition ID, aka
-// Posting ID. Unique per job."] [--title_one "Software Engineer"] [--description_one "This is a
-// description of this wonderful job!"] [--job_application_url_one
-// "https://www.example.org/job-posting/123"] [--address_one "1600 Amphitheatre Parkway, Mountain
-// View, CA 94043"] [--language_code_one "en-US"] [--job_name_two "job name, e.g.
-// projects/your-project/tenants/tenant-id/jobs/job-id"] [--company_name_two "Company name, e.g.
-// projects/your-project/companies/company-id"] [--requisition_id_two "Job requisition ID, aka
-// Posting ID. Unique per job."] [--title_two "Quality Assurance"] [--description_two "This is a
-// description of this wonderful job!"] [--job_application_url_two
-// "https://www.example.org/job-posting/123"] [--address_two "111 8th Avenue, New York, NY 10011"]
-// [--language_code_two "en-US"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java
index 5a17ec72..7f2c5fce 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCommuteSearch.java
@@ -13,14 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_commute_search")
-// sample-metadata:
-// title:
-// description: Search Jobs using commute distance
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCommuteSearch
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"]']
-
package com.google.cloud.examples.talent.v4beta1;
import com.google.cloud.talent.v4beta1.CommuteFilter;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java
index e0f77db4..4d4faa4e 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateClientEvent.java
@@ -13,15 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_create_client_event")
-// sample-metadata:
-// title:
-// description: Creates a client event
-// usage: gradle run
-// -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCreateClientEvent
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--request_id "[request_id from ResponseMetadata]"] [--event_id "[Set this
-// to a unique identifier]"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java
index 22d897d8..86009221 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateCompany.java
@@ -13,14 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_create_company")
-// sample-metadata:
-// title:
-// description: Create Company
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCreateCompany
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--display_name "My Company Name"] [--external_id "Identifier of this
-// company in my system"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java
index 717a979e..88322015 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJob.java
@@ -13,18 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_create_job")
-// sample-metadata:
-// title:
-// description: Create Job
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCreateJob
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--company_name "Company name, e.g.
-// projects/your-project/companies/company-id"] [--requisition_id "Job requisition ID, aka Posting
-// ID. Unique per job."] [--title "Software Engineer"] [--description "This is a description of this
-// wonderful job!"] [--job_application_url "https://www.example.org/job-posting/123"]
-// [--address_one "1600 Amphitheatre Parkway, Mountain View, CA 94043"] [--address_two "111 8th
-// Avenue, New York, NY 10011"] [--language_code "en-US"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java
index 8b52cd63..cbd7c1d5 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateJobCustomAttributes.java
@@ -13,16 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_create_job_custom_attributes")
-// sample-metadata:
-// title:
-// description: Create Job with Custom Attributes
-// usage: gradle run
-// -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCreateJobCustomAttributes
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--company_name "Company name, e.g.
-// projects/your-project/companies/company-id"] [--requisition_id "Job requisition ID, aka Posting
-// ID. Unique per job."] [--language_code "en-US"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java
index 4c642174..a0d1775b 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCreateTenant.java
@@ -13,13 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_create_tenant")
-// sample-metadata:
-// title:
-// description: Create Tenant for scoping resources, e.g. companies and jobs
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCreateTenant
-// [--args='[--project_id "Your Google Cloud Project ID"] [--external_id "Your Unique Identifier for
-// Tenant"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java
index 66b04264..cf916999 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchCustomRankingSearch.java
@@ -13,14 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_custom_ranking_search")
-// sample-metadata:
-// title:
-// description: Search Jobs using custom rankings
-// usage: gradle run
-// -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchCustomRankingSearch
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java
index 3041b730..c4ef8acb 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteCompany.java
@@ -13,13 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_delete_company")
-// sample-metadata:
-// title:
-// description: Delete Company
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchDeleteCompany
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--company_id "ID of the company to delete"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java
index 90a83113..ded170c6 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteJob.java
@@ -13,13 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_delete_job")
-// sample-metadata:
-// title:
-// description: Delete Job
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchDeleteJob
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--job_id "Company ID"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java
index 16cf4463..95dac1df 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchDeleteTenant.java
@@ -13,12 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_delete_tenant")
-// sample-metadata:
-// title:
-// description: Delete Tenant
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchDeleteTenant
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID)"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java
index d4d798de..2fcf1721 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetCompany.java
@@ -13,13 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_get_company")
-// sample-metadata:
-// title:
-// description: Get Company
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchGetCompany
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--company_id "Company ID"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java
index 0a52a6c3..fbc92ccb 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetJob.java
@@ -13,13 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_get_job")
-// sample-metadata:
-// title:
-// description: Get Job
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchGetJob
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--job_id "Job ID"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java
index a2f42af9..86830cf9 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchGetTenant.java
@@ -13,12 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("Request", "job_search_get_tenant")
-// sample-metadata:
-// title:
-// description: Get Tenant by name
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchGetTenant
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java
index 950f7214..877cb430 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchHistogramSearch.java
@@ -13,13 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_histogram_search")
-// sample-metadata:
-// title:
-// description: Search Jobs with histogram queries
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchHistogramSearch
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--query "count(base_compensation, [bucket(12, 20)])"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java
index 5a93e435..3c5f9df1 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListCompanies.java
@@ -13,13 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_list_companies")
-// sample-metadata:
-// title:
-// description: List Companies
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchListCompanies
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java
index fa8443f1..04cd4e33 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListJobs.java
@@ -13,13 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_list_jobs")
-// sample-metadata:
-// title:
-// description: List Jobs
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchListJobs
-// [--args='[--project_id "Your Google Cloud Project ID"] [--tenant_id "Your Tenant ID (using
-// tenancy is optional)"] [--filter "companyName=projects/my-project/companies/company-id"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java
index 4fab27d5..681552d6 100644
--- a/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java
+++ b/samples/generated/src/main/java/com/google/cloud/examples/talent/v4beta1/JobSearchListTenants.java
@@ -13,12 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-// DO NOT EDIT! This is a generated sample ("RequestPaged", "job_search_list_tenants")
-// sample-metadata:
-// title:
-// description: List Tenants
-// usage: gradle run -PmainClass=com.google.cloud.examples.talent.v4beta1.JobSearchListTenants
-// [--args='[--project_id "Your Google Cloud Project ID"]']
package com.google.cloud.examples.talent.v4beta1;
diff --git a/versions.txt b/versions.txt
index 08e71251..8854746f 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,9 +1,8 @@
# Format:
# module:released-version:current-version
-proto-google-cloud-talent-v4:2.1.2:2.1.3-SNAPSHOT
-proto-google-cloud-talent-v4beta1:0.44.2:0.44.3-SNAPSHOT
+google-cloud-talent:2.1.2:2.1.3-SNAPSHOT
grpc-google-cloud-talent-v4:2.1.2:2.1.3-SNAPSHOT
grpc-google-cloud-talent-v4beta1:0.44.2:0.44.3-SNAPSHOT
-google-cloud-talent:2.1.2:2.1.3-SNAPSHOT
-google-cloud-talent-bom:2.1.2:2.1.3-SNAPSHOT
+proto-google-cloud-talent-v4:2.1.2:2.1.3-SNAPSHOT
+proto-google-cloud-talent-v4beta1:0.44.2:0.44.3-SNAPSHOT