0.34.0 (latest) 0.33.0 0.31.0 0.28.0 0.27.0 0.25.0 0.23.0 0.22.0 0.21.0 0.20.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.10.0 0.8.0 0.7.0 0.4.0 0.3.0 0.2.0

    public interface AndroidDeviceOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAndroidModelId()

    public abstract String getAndroidModelId()

Required. The id of the Android device to be used.
Use the TestEnvironmentDiscoveryService to get supported options.

`string android_model_id = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The androidModelId. |

### getAndroidModelIdBytes()

    public abstract ByteString getAndroidModelIdBytes()

Required. The id of the Android device to be used.
Use the TestEnvironmentDiscoveryService to get supported options.

`string android_model_id = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for androidModelId. |

### getAndroidVersionId()

    public abstract String getAndroidVersionId()

Required. The id of the Android OS version to be used.
Use the TestEnvironmentDiscoveryService to get supported options.

`string android_version_id = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The androidVersionId. |

### getAndroidVersionIdBytes()

    public abstract ByteString getAndroidVersionIdBytes()

Required. The id of the Android OS version to be used.
Use the TestEnvironmentDiscoveryService to get supported options.

`string android_version_id = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for androidVersionId. |

### getLocale()

    public abstract String getLocale()

Optional. The locale the test device used for testing.
Use the TestEnvironmentDiscoveryService to get supported options.

`string locale = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The locale. |

### getLocaleBytes()

    public abstract ByteString getLocaleBytes()

Optional. The locale the test device used for testing.
Use the TestEnvironmentDiscoveryService to get supported options.

`string locale = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for locale. |

### getOrientation()

    public abstract String getOrientation()

Optional. How the device is oriented during the test.
Use the TestEnvironmentDiscoveryService to get supported options.

`string orientation = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The orientation. |

### getOrientationBytes()

    public abstract ByteString getOrientationBytes()

Optional. How the device is oriented during the test.
Use the TestEnvironmentDiscoveryService to get supported options.

`string orientation = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for orientation. |