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 enumgoogle.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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_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.v4.Job.title].UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
KEYWORD_MATCH_ALL_VALUE
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.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.v4.Job.title].
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SearchJobsRequest.KeywordMatchMode
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<SearchJobsRequest.KeywordMatchMode>
internalGetValueMap()
static SearchJobsRequest.KeywordMatchMode
valueOf(int value)
Deprecated.static SearchJobsRequest.KeywordMatchMode
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.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.
-
-
-
Enum Constant Detail
-
KEYWORD_MATCH_MODE_UNSPECIFIED
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.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
KEYWORD_MATCH_MODE_UNSPECIFIED = 0;
-
KEYWORD_MATCH_DISABLED
public static final SearchJobsRequest.KeywordMatchMode KEYWORD_MATCH_DISABLED
Disables keyword matching.
KEYWORD_MATCH_DISABLED = 1;
-
KEYWORD_MATCH_ALL
public static final SearchJobsRequest.KeywordMatchMode 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
public static final SearchJobsRequest.KeywordMatchMode KEYWORD_MATCH_TITLE_ONLY
Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
KEYWORD_MATCH_TITLE_ONLY = 3;
-
UNRECOGNIZED
public static final SearchJobsRequest.KeywordMatchMode UNRECOGNIZED
-
-
Field Detail
-
KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE
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.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
KEYWORD_MATCH_MODE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
KEYWORD_MATCH_DISABLED_VALUE
public static final int KEYWORD_MATCH_DISABLED_VALUE
Disables keyword matching.
KEYWORD_MATCH_DISABLED = 1;
- See Also:
- Constant Field Values
-
KEYWORD_MATCH_ALL_VALUE
public static final int KEYWORD_MATCH_ALL_VALUE
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;
- See Also:
- Constant Field Values
-
KEYWORD_MATCH_TITLE_ONLY_VALUE
public static final int KEYWORD_MATCH_TITLE_ONLY_VALUE
Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
KEYWORD_MATCH_TITLE_ONLY = 3;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SearchJobsRequest.KeywordMatchMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SearchJobsRequest.KeywordMatchMode c : SearchJobsRequest.KeywordMatchMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchJobsRequest.KeywordMatchMode valueOf(String name)
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static SearchJobsRequest.KeywordMatchMode valueOf(int value)
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
public static SearchJobsRequest.KeywordMatchMode forNumber(int value)
- 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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
-
-