public static enum SearchJobsRequest.KeywordMatchMode extends Enum<SearchJobsRequest.KeywordMatchMode> implements 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.v4beta1.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.v4beta1.SearchJobsRequest.KeywordMatchMode
Enum Constant and Description |
---|
KEYWORD_MATCH_ALL
Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title],
[Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
[Job.qualifications][google.cloud.talent.v4beta1.Job.qualifications], and keyword searchable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes]
fields.
|
KEYWORD_MATCH_DISABLED
Disables keyword matching.
|
KEYWORD_MATCH_MODE_UNSPECIFIED
The keyword match option isn't specified.
|
KEYWORD_MATCH_TITLE_ONLY
Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
KEYWORD_MATCH_ALL_VALUE
Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title],
[Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
[Job.qualifications][google.cloud.talent.v4beta1.Job.qualifications], and keyword searchable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes]
fields.
|
static int |
KEYWORD_MATCH_DISABLED_VALUE
Disables keyword matching.
|
static int |
KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE
The keyword match option isn't specified.
|
static int |
KEYWORD_MATCH_TITLE_ONLY_VALUE
Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
|
Modifier and Type | Method and Description |
---|---|
static SearchJobsRequest.KeywordMatchMode |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<SearchJobsRequest.KeywordMatchMode> |
internalGetValueMap() |
static SearchJobsRequest.KeywordMatchMode |
valueOf(Descriptors.EnumValueDescriptor desc) |
static SearchJobsRequest.KeywordMatchMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SearchJobsRequest.KeywordMatchMode |
valueOf(String 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.
|
public static final SearchJobsRequest.KeywordMatchMode KEYWORD_MATCH_MODE_UNSPECIFIED
The keyword match option isn't specified. Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
KEYWORD_MATCH_MODE_UNSPECIFIED = 0;
public static final SearchJobsRequest.KeywordMatchMode KEYWORD_MATCH_DISABLED
Disables keyword matching.
KEYWORD_MATCH_DISABLED = 1;
public static final SearchJobsRequest.KeywordMatchMode KEYWORD_MATCH_ALL
Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title], [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses], [Job.qualifications][google.cloud.talent.v4beta1.Job.qualifications], and keyword searchable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] fields.
KEYWORD_MATCH_ALL = 2;
public static final SearchJobsRequest.KeywordMatchMode KEYWORD_MATCH_TITLE_ONLY
Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
KEYWORD_MATCH_TITLE_ONLY = 3;
public static final SearchJobsRequest.KeywordMatchMode UNRECOGNIZED
public static final int KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE
The keyword match option isn't specified. Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
KEYWORD_MATCH_MODE_UNSPECIFIED = 0;
public static final int KEYWORD_MATCH_DISABLED_VALUE
Disables keyword matching.
KEYWORD_MATCH_DISABLED = 1;
public static final int KEYWORD_MATCH_ALL_VALUE
Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title], [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses], [Job.qualifications][google.cloud.talent.v4beta1.Job.qualifications], and keyword searchable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] fields.
KEYWORD_MATCH_ALL = 2;
public static final int KEYWORD_MATCH_TITLE_ONLY_VALUE
Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
KEYWORD_MATCH_TITLE_ONLY = 3;
public static SearchJobsRequest.KeywordMatchMode[] values()
for (SearchJobsRequest.KeywordMatchMode c : SearchJobsRequest.KeywordMatchMode.values()) System.out.println(c);
public static SearchJobsRequest.KeywordMatchMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static SearchJobsRequest.KeywordMatchMode valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static SearchJobsRequest.KeywordMatchMode forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<SearchJobsRequest.KeywordMatchMode> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static SearchJobsRequest.KeywordMatchMode valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.