# Interface VideoStreamInputConfigOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.VideoStreamInputConfigOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.visionai.v1.VideoStreamInputConfigOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.visionai.v1.VideoStreamInputConfigOrBuilder)

    public interface VideoStreamInputConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getStreams(int index)

    public abstract String getStreams(int index)

`repeated string streams = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The streams at the given index. |

### getStreamsBytes(int index)

    public abstract ByteString getStreamsBytes(int index)

`repeated string streams = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the streams at the given index. |

### getStreamsCount()

    public abstract int getStreamsCount()

`repeated string streams = 1;`

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

### getStreamsList()

    public abstract List<String> getStreamsList()

`repeated string streams = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the streams. |

### getStreamsWithAnnotation(int index)

    public abstract StreamWithAnnotation getStreamsWithAnnotation(int index)

`
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.StreamWithAnnotation` |   |

### getStreamsWithAnnotationCount()

    public abstract int getStreamsWithAnnotationCount()

`
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
`

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

### getStreamsWithAnnotationList()

    public abstract List<StreamWithAnnotation> getStreamsWithAnnotationList()

`
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.StreamWithAnnotation>` |   |

### getStreamsWithAnnotationOrBuilder(int index)

    public abstract StreamWithAnnotationOrBuilder getStreamsWithAnnotationOrBuilder(int index)

`
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.StreamWithAnnotationOrBuilder` |   |

### getStreamsWithAnnotationOrBuilderList()

    public abstract List<? extends StreamWithAnnotationOrBuilder> getStreamsWithAnnotationOrBuilderList()

`
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.events.cloud.visionai.v1.StreamWithAnnotationOrBuilder>` |   |