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 StatusUpdateOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### containsProperties(String key)

    public abstract boolean containsProperties(String key)

A map of properties with information about this device.

`map<string, string> properties = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getFeatures()

    public abstract String getFeatures()

A comma-separated list of "features" that this device supports.

`string features = 3;`

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

### getFeaturesBytes()

    public abstract ByteString getFeaturesBytes()

A comma-separated list of "features" that this device supports.

`string features = 3;`

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

### getProperties() (deprecated)

    public abstract Map<String,String> getProperties()

Use [#getPropertiesMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-devicestreaming/latest/com.google.cloud.devicestreaming.v1.StatusUpdateOrBuilder#com_google_cloud_devicestreaming_v1_StatusUpdateOrBuilder_getPropertiesMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getPropertiesCount()

    public abstract int getPropertiesCount()

A map of properties with information about this device.

`map<string, string> properties = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getPropertiesMap()

    public abstract Map<String,String> getPropertiesMap()

A map of properties with information about this device.

`map<string, string> properties = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getPropertiesOrDefault(String key, String defaultValue)

    public abstract String getPropertiesOrDefault(String key, String defaultValue)

A map of properties with information about this device.

`map<string, string> properties = 2;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

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

### getPropertiesOrThrow(String key)

    public abstract String getPropertiesOrThrow(String key)

A map of properties with information about this device.

`map<string, string> properties = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

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

### getState()

    public abstract StatusUpdate.DeviceState getState()

The device's state

`.google.cloud.devicestreaming.v1.StatusUpdate.DeviceState state = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-devicestreaming/latest/com.google.cloud.devicestreaming.v1.StatusUpdate.DeviceState` | The state. |

### getStateValue()

    public abstract int getStateValue()

The device's state

`.google.cloud.devicestreaming.v1.StatusUpdate.DeviceState state = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for state. |