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 enum
google.cloud.talent.v4.SearchJobsRequest.SearchMode-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe job search matches only against featured jobs (jobs with a promotionValue > 0).The job search matches against all jobs, and featured jobs (jobs with promotionValue > 0) are not specially handled.The mode of the search method isn't specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe job search matches only against featured jobs (jobs with a promotionValue > 0).static final intThe job search matches against all jobs, and featured jobs (jobs with promotionValue > 0) are not specially handled.static final intThe mode of the search method isn't specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchJobsRequest.SearchModeforNumber(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.SearchMode>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.SearchModeReturns 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 Details
-
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
The job search matches against all jobs, and featured jobs (jobs with promotionValue > 0) are not specially handled.
JOB_SEARCH = 1; -
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
-
-
Field Details
-
SEARCH_MODE_UNSPECIFIED_VALUE
public static final int SEARCH_MODE_UNSPECIFIED_VALUEThe 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:
-
JOB_SEARCH_VALUE
public static final int JOB_SEARCH_VALUEThe job search matches against all jobs, and featured jobs (jobs with promotionValue > 0) are not specially handled.
JOB_SEARCH = 1;- See Also:
-
FEATURED_JOB_SEARCH_VALUE
public static final int FEATURED_JOB_SEARCH_VALUEThe 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:
-
-
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.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 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
-