Package com.google.cloud.talent.v4
Enum SearchJobsRequest.SearchMode
- java.lang.Object
-
- java.lang.Enum<SearchJobsRequest.SearchMode>
-
- com.google.cloud.talent.v4.SearchJobsRequest.SearchMode
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SearchJobsRequest.SearchMode>
- Enclosing class:
- SearchJobsRequest
public static enum SearchJobsRequest.SearchMode extends Enum<SearchJobsRequest.SearchMode> implements com.google.protobuf.ProtocolMessageEnum
A string-represented enumeration of the job search mode. The service operate differently for different modes of service.
Protobuf enumgoogle.cloud.talent.v4.SearchJobsRequest.SearchMode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FEATURED_JOB_SEARCHThe job search matches only against featured jobs (jobs with a promotionValue > 0).JOB_SEARCHThe job search matches against all jobs, and featured jobs (jobs with promotionValue > 0) are not specially handled.SEARCH_MODE_UNSPECIFIEDThe mode of the search method isn't specified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intFEATURED_JOB_SEARCH_VALUEThe job search matches only against featured jobs (jobs with a promotionValue > 0).static intJOB_SEARCH_VALUEThe job search matches against all jobs, and featured jobs (jobs with promotionValue > 0) are not specially handled.static intSEARCH_MODE_UNSPECIFIED_VALUEThe mode of the search method isn't specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SearchJobsRequest.SearchModeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<SearchJobsRequest.SearchMode>internalGetValueMap()static SearchJobsRequest.SearchModevalueOf(int value)Deprecated.static SearchJobsRequest.SearchModevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static SearchJobsRequest.SearchModevalueOf(String name)Returns the enum constant of this type with the specified name.static SearchJobsRequest.SearchMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEARCH_MODE_UNSPECIFIED
public static final SearchJobsRequest.SearchMode SEARCH_MODE_UNSPECIFIED
The mode of the search method isn't specified. The default search behavior is identical to JOB_SEARCH search behavior.
SEARCH_MODE_UNSPECIFIED = 0;
-
JOB_SEARCH
public static final SearchJobsRequest.SearchMode JOB_SEARCH
The job search matches against all jobs, and featured jobs (jobs with promotionValue > 0) are not specially handled.
JOB_SEARCH = 1;
-
FEATURED_JOB_SEARCH
public static final SearchJobsRequest.SearchMode FEATURED_JOB_SEARCH
The job search matches only against featured jobs (jobs with a promotionValue > 0). This method doesn't return any jobs having a promotionValue <= 0. The search results order is determined by the promotionValue (jobs with a higher promotionValue are returned higher up in the search results), with relevance being used as a tiebreaker.
FEATURED_JOB_SEARCH = 2;
-
UNRECOGNIZED
public static final SearchJobsRequest.SearchMode UNRECOGNIZED
-
-
Field Detail
-
SEARCH_MODE_UNSPECIFIED_VALUE
public static final int SEARCH_MODE_UNSPECIFIED_VALUE
The mode of the search method isn't specified. The default search behavior is identical to JOB_SEARCH search behavior.
SEARCH_MODE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
JOB_SEARCH_VALUE
public static final int JOB_SEARCH_VALUE
The job search matches against all jobs, and featured jobs (jobs with promotionValue > 0) are not specially handled.
JOB_SEARCH = 1;- See Also:
- Constant Field Values
-
FEATURED_JOB_SEARCH_VALUE
public static final int FEATURED_JOB_SEARCH_VALUE
The job search matches only against featured jobs (jobs with a promotionValue > 0). This method doesn't return any jobs having a promotionValue <= 0. The search results order is determined by the promotionValue (jobs with a higher promotionValue are returned higher up in the search results), with relevance being used as a tiebreaker.
FEATURED_JOB_SEARCH = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SearchJobsRequest.SearchMode[] 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.SearchMode c : SearchJobsRequest.SearchMode.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.SearchMode 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static SearchJobsRequest.SearchMode 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.SearchMode 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.SearchMode> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static SearchJobsRequest.SearchMode 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
-
-