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.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 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.SearchMode> |
internalGetValueMap() |
static SearchJobsRequest.SearchMode |
valueOf(com.google.protobuf.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.
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.
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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SearchJobsRequest.SearchMode valueOf(int value)
forNumber(int) instead.public static SearchJobsRequest.SearchMode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SearchJobsRequest.SearchMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SearchJobsRequest.SearchMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.