# TranslateRemoteModel

public class **TranslateRemoteModel** extends RemoteModel  
Information about a downloaded or to-be-downloaded model for translation.

Please do not instantiate with English language given it is built-in. Otherwise such
instance cannot be downloaded or deleted.

### Nested Class Summary

|---|---|---|---|
| class | [TranslateRemoteModel.Builder](https://developers.google.com/android/reference/com/google/mlkit/nl/translate/TranslateRemoteModel.Builder) || Builder for a `https://developers.google.com/android/reference/com/google/mlkit/nl/translate/TranslateRemoteModel`. |

### Public Method Summary

|---|---|
| boolean | [equals](https://developers.google.com/android/reference/com/google/mlkit/nl/translate/TranslateRemoteModel#equals(java.lang.Object))([Object](https://developer.android.com/reference/java/lang/Object.html) o) Indicates whether some other object is "equal to" this one. |
| [String](https://developer.android.com/reference/java/lang/String.html) | [getLanguage](https://developers.google.com/android/reference/com/google/mlkit/nl/translate/TranslateRemoteModel#getLanguage())() The `https://developers.google.com/android/reference/com/google/mlkit/nl/translate/TranslateLanguage.Language` associated with this model. |
| int | [hashCode](https://developers.google.com/android/reference/com/google/mlkit/nl/translate/TranslateRemoteModel#hashCode())() Returns a hash code value for the object. |

### Inherited Method Summary

From class com.google.mlkit.common.model.RemoteModel

|---|---|
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| int | hashCode() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## Public Methods

#### public boolean **equals** ([Object](https://developer.android.com/reference/java/lang/Object.html) o)

Indicates whether some other object is "equal to" this one.

#### public [String](https://developer.android.com/reference/java/lang/String.html) **getLanguage** ()

The `https://developers.google.com/android/reference/com/google/mlkit/nl/translate/TranslateLanguage.Language`
associated with this model.

#### public int **hashCode** ()

Returns a hash code value for the object.