Enum 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 enum google.cloud.talent.v4.PostingRegion
    • 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.v4.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.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;
      • NATION

        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;
      • 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;
    • 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.v4.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.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;
        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.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;
        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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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 interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null