Package com.google.cloud.talent.v4beta1
Enum PostingRegion
- java.lang.Object
-
- java.lang.Enum<PostingRegion>
-
- com.google.cloud.talent.v4beta1.PostingRegion
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<PostingRegion>
public enum PostingRegion extends Enum<PostingRegion> implements com.google.protobuf.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 enumgoogle.cloud.talent.v4beta1.PostingRegion
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMINISTRATIVE_AREA
In addition to exact location matching, job posting is returned when the [LocationFilter][google.cloud.talent.v4beta1.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.v4beta1.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.v4beta1.LocationFilter].TELECOMMUTE
Job allows employees to work remotely (telecommute).UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ADMINISTRATIVE_AREA_VALUE
In addition to exact location matching, job posting is returned when the [LocationFilter][google.cloud.talent.v4beta1.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.v4beta1.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.v4beta1.LocationFilter].static int
TELECOMMUTE_VALUE
Job allows employees to work remotely (telecommute).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PostingRegion
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<PostingRegion>
internalGetValueMap()
static PostingRegion
valueOf(int value)
Deprecated.static PostingRegion
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.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.
-
-
-
Enum Constant Detail
-
POSTING_REGION_UNSPECIFIED
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.v4beta1.LocationFilter].
POSTING_REGION_UNSPECIFIED = 0;
-
ADMINISTRATIVE_AREA
public static final PostingRegion ADMINISTRATIVE_AREA
In addition to exact location matching, job posting is returned when the [LocationFilter][google.cloud.talent.v4beta1.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.v4beta1.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;
-
NATION
public static final PostingRegion NATION
In addition to exact location matching, job is returned when [LocationFilter][google.cloud.talent.v4beta1.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.v4beta1.LocationFilter] has 'Mountain View'.
NATION = 2;
-
TELECOMMUTE
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;
-
UNRECOGNIZED
public static final PostingRegion UNRECOGNIZED
-
-
Field Detail
-
POSTING_REGION_UNSPECIFIED_VALUE
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.v4beta1.LocationFilter].
POSTING_REGION_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
ADMINISTRATIVE_AREA_VALUE
public static final int ADMINISTRATIVE_AREA_VALUE
In addition to exact location matching, job posting is returned when the [LocationFilter][google.cloud.talent.v4beta1.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.v4beta1.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;
- See Also:
- Constant Field Values
-
NATION_VALUE
public static final int NATION_VALUE
In addition to exact location matching, job is returned when [LocationFilter][google.cloud.talent.v4beta1.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.v4beta1.LocationFilter] has 'Mountain View'.
NATION = 2;
- See Also:
- Constant Field Values
-
TELECOMMUTE_VALUE
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;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PostingRegion[] 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 (PostingRegion c : PostingRegion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostingRegion 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static PostingRegion 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 PostingRegion 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<PostingRegion> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static PostingRegion 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
-
-