Package com.google.cloud.talent.v4
Enum SearchJobsRequest.KeywordMatchMode
java.lang.Object
java.lang.Enum<SearchJobsRequest.KeywordMatchMode>
com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SearchJobsRequest.KeywordMatchMode>
- Enclosing class:
- SearchJobsRequest
public static enum SearchJobsRequest.KeywordMatchMode
extends Enum<SearchJobsRequest.KeywordMatchMode>
implements com.google.protobuf.ProtocolMessageEnum
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.Protobuf enum
google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnable 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.Disables keyword matching.The keyword match option isn't specified.Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title]. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEnable 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.static final intDisables keyword matching.static final intThe keyword match option isn't specified.static final intOnly enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title]. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SearchJobsRequest.KeywordMatchMode>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static SearchJobsRequest.KeywordMatchMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
KEYWORD_MATCH_MODE_UNSPECIFIED
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; -
KEYWORD_MATCH_DISABLED
Disables keyword matching.
KEYWORD_MATCH_DISABLED = 1; -
KEYWORD_MATCH_ALL
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; -
KEYWORD_MATCH_TITLE_ONLY
Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
KEYWORD_MATCH_TITLE_ONLY = 3; -
UNRECOGNIZED
-
-
Field Details
-
KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE
public static final int KEYWORD_MATCH_MODE_UNSPECIFIED_VALUEThe 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;- See Also:
-
KEYWORD_MATCH_DISABLED_VALUE
public static final int KEYWORD_MATCH_DISABLED_VALUEDisables keyword matching.
KEYWORD_MATCH_DISABLED = 1;- See Also:
-
KEYWORD_MATCH_ALL_VALUE
public static final int KEYWORD_MATCH_ALL_VALUEEnable 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;- See Also:
-
KEYWORD_MATCH_TITLE_ONLY_VALUE
public static final int KEYWORD_MATCH_TITLE_ONLY_VALUEOnly enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
KEYWORD_MATCH_TITLE_ONLY = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<SearchJobsRequest.KeywordMatchMode> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static SearchJobsRequest.KeywordMatchMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-