# Class DeviceMessage (0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.0

    DeviceMessage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A message returned from a device.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `status_update` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.StatusUpdate` Information about the device's state. This field is a member of `oneof`_ `contents`. |
| `stream_status` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.StreamStatus` The result of a device stream from ADB. This field is a member of `oneof`_ `contents`. |
| `stream_data` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.StreamData` Data from an open stream. This field is a member of `oneof`_ `contents`. |