# Google Cloud Vision Ai V1 Client - Class GraphOutputChannelSpec (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class GraphOutputChannelSpec.

Message for output channel specification.

Generated from protobuf message `google.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ ProcessorIOSpec

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` The name of the current output channel. |
| `↳ data_type` | `int` The data type of the current output channel. |
| `↳ data_type_uri` | `string` |

### getName

The name of the current output channel.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

The name of the current output channel.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataType

The data type of the current output channel.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DataType](https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataType). |

### setDataType

The data type of the current output channel.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DataType](https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataTypeUri

Generated from protobuf field `string data_type_uri = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDataTypeUri

Generated from protobuf field `string data_type_uri = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |