public static LocationType forNumber(int value) {
      switch (value) {
        case 0:
          return LOCATION_TYPE_UNSPECIFIED;
        case 1:
          return COUNTRY;
        case 2:
          return ADMINISTRATIVE_AREA;
        case 3:
          return SUB_ADMINISTRATIVE_AREA;
        case 4:
          return LOCALITY;
        case 5:
          return POSTAL_CODE;
        case 6:
          return SUB_LOCALITY;
        case 7:
          return SUB_LOCALITY_1;
        case 8:
          return SUB_LOCALITY_2;
        case 9:
          return NEIGHBORHOOD;
        case 10:
          return STREET_ADDRESS;
        default:
          return null;
      }
    }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java