public static enum SearchJobsRequest.SearchMode extends Enum<SearchJobsRequest.SearchMode> implements ProtocolMessageEnum
A string-represented enumeration of the job search mode. The service operate differently for different modes of service.Protobuf enum
google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode
Enum Constant and Description |
---|
FEATURED_JOB_SEARCH
The job search matches only against featured jobs (jobs with a
promotionValue > 0).
|
JOB_SEARCH
The job search matches against all jobs, and featured jobs
(jobs with promotionValue > 0) are not specially handled.
|
SEARCH_MODE_UNSPECIFIED
The mode of the search method isn't specified.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
FEATURED_JOB_SEARCH_VALUE
The job search matches only against featured jobs (jobs with a
promotionValue > 0).
|
static int |
JOB_SEARCH_VALUE
The job search matches against all jobs, and featured jobs
(jobs with promotionValue > 0) are not specially handled.
|
static int |
SEARCH_MODE_UNSPECIFIED_VALUE
The mode of the search method isn't specified.
|
Modifier and Type | Method and Description |
---|---|
static SearchJobsRequest.SearchMode |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<SearchJobsRequest.SearchMode> |
internalGetValueMap() |
static SearchJobsRequest.SearchMode |
valueOf(Descriptors.EnumValueDescriptor desc) |
static SearchJobsRequest.SearchMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SearchJobsRequest.SearchMode |
valueOf(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.
|
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;
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;
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;
public static final SearchJobsRequest.SearchMode UNRECOGNIZED
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;
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;
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;
public static SearchJobsRequest.SearchMode[] values()
for (SearchJobsRequest.SearchMode c : SearchJobsRequest.SearchMode.values()) System.out.println(c);
public static SearchJobsRequest.SearchMode 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.SearchMode valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static SearchJobsRequest.SearchMode forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<SearchJobsRequest.SearchMode> 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.SearchMode valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.