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

## Implements

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

## Methods

### getClose()

    public abstract Close getClose()

The stream is closing. EOF.

`.google.cloud.devicestreaming.v1.Close close = 3;`

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

### getCloseOrBuilder()

    public abstract CloseOrBuilder getCloseOrBuilder()

The stream is closing. EOF.

`.google.cloud.devicestreaming.v1.Close close = 3;`

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

### getContentsCase()

    public abstract StreamData.ContentsCase getContentsCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-devicestreaming/latest/com.google.cloud.devicestreaming.v1.StreamData.ContentsCase` |   |

### getData()

    public abstract ByteString getData()

Data in the stream.

`bytes data = 2;`

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

### getStreamId()

    public abstract int getStreamId()

Required. The unique ID of this stream, assigned by the client.

`int32 stream_id = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### hasClose()

    public abstract boolean hasClose()

The stream is closing. EOF.

`.google.cloud.devicestreaming.v1.Close close = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the close field is set. |

### hasData()

    public abstract boolean hasData()

Data in the stream.

`bytes data = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the data field is set. |