Enum 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.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 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.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL]
         behavior.
         
        KEYWORD_MATCH_MODE_UNSPECIFIED = 0;
      • KEYWORD_MATCH_ALL

        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;
      • KEYWORD_MATCH_TITLE_ONLY

        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;
    • 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.v4beta1.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.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;
        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.v4beta1.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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null