public enum PostingRegion extends Enum<PostingRegion> implements ProtocolMessageEnum
An enum that represents the job posting region. In most cases, job postings don't need to specify a region. If a region is given, jobs are eligible for searches in the specified region.Protobuf enum
google.cloud.talent.v4.PostingRegion
Enum Constant and Description |
---|
ADMINISTRATIVE_AREA
In addition to exact location matching, job posting is returned when the
[LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area
as the returned job posting.
|
NATION
In addition to exact location matching, job is returned when
[LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job.
|
POSTING_REGION_UNSPECIFIED
If the region is unspecified, the job is only returned if it
matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
|
TELECOMMUTE
Job allows employees to work remotely (telecommute).
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ADMINISTRATIVE_AREA_VALUE
In addition to exact location matching, job posting is returned when the
[LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area
as the returned job posting.
|
static int |
NATION_VALUE
In addition to exact location matching, job is returned when
[LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job.
|
static int |
POSTING_REGION_UNSPECIFIED_VALUE
If the region is unspecified, the job is only returned if it
matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
|
static int |
TELECOMMUTE_VALUE
Job allows employees to work remotely (telecommute).
|
Modifier and Type | Method and Description |
---|---|
static PostingRegion |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<PostingRegion> |
internalGetValueMap() |
static PostingRegion |
valueOf(Descriptors.EnumValueDescriptor desc) |
static PostingRegion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PostingRegion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostingRegion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostingRegion POSTING_REGION_UNSPECIFIED
If the region is unspecified, the job is only returned if it matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
POSTING_REGION_UNSPECIFIED = 0;
public static final PostingRegion ADMINISTRATIVE_AREA
In addition to exact location matching, job posting is returned when the [LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area as the returned job posting. For example, if a `ADMINISTRATIVE_AREA` job is posted in "CA, USA", it's returned if [LocationFilter][google.cloud.talent.v4.LocationFilter] has "Mountain View". Administrative area refers to top-level administrative subdivision of this country. For example, US state, IT region, UK constituent nation and JP prefecture.
ADMINISTRATIVE_AREA = 1;
public static final PostingRegion NATION
In addition to exact location matching, job is returned when [LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job. For example, if a `NATION_WIDE` job is posted in "USA", it's returned if [LocationFilter][google.cloud.talent.v4.LocationFilter] has 'Mountain View'.
NATION = 2;
public static final PostingRegion TELECOMMUTE
Job allows employees to work remotely (telecommute). If locations are provided with this value, the job is considered as having a location, but telecommuting is allowed.
TELECOMMUTE = 3;
public static final PostingRegion UNRECOGNIZED
public static final int POSTING_REGION_UNSPECIFIED_VALUE
If the region is unspecified, the job is only returned if it matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
POSTING_REGION_UNSPECIFIED = 0;
public static final int ADMINISTRATIVE_AREA_VALUE
In addition to exact location matching, job posting is returned when the [LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area as the returned job posting. For example, if a `ADMINISTRATIVE_AREA` job is posted in "CA, USA", it's returned if [LocationFilter][google.cloud.talent.v4.LocationFilter] has "Mountain View". Administrative area refers to top-level administrative subdivision of this country. For example, US state, IT region, UK constituent nation and JP prefecture.
ADMINISTRATIVE_AREA = 1;
public static final int NATION_VALUE
In addition to exact location matching, job is returned when [LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job. For example, if a `NATION_WIDE` job is posted in "USA", it's returned if [LocationFilter][google.cloud.talent.v4.LocationFilter] has 'Mountain View'.
NATION = 2;
public static final int TELECOMMUTE_VALUE
Job allows employees to work remotely (telecommute). If locations are provided with this value, the job is considered as having a location, but telecommuting is allowed.
TELECOMMUTE = 3;
public static PostingRegion[] values()
for (PostingRegion c : PostingRegion.values()) System.out.println(c);
public static PostingRegion 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 PostingRegion valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PostingRegion forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<PostingRegion> 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 PostingRegion valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.