# Google Cloud Vision Ai V1 Client - Class ProcessorIOSpec (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 ProcessorIOSpec.

Message describing the input / output specifications of a processor.

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

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ graph_input_channel_specs` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.GraphInputChannelSpec>` For processors with input_channel_specs, the processor must be explicitly connected to another processor. |
| `↳ graph_output_channel_specs` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.GraphOutputChannelSpec>` The output artifact specifications for the current processor. |
| `↳ instance_resource_input_binding_specs` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.InstanceResourceInputBindingSpec>` The input resource that needs to be fed from the application instance. |
| `↳ instance_resource_output_binding_specs` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.InstanceResourceOutputBindingSpec>` The output resource that the processor will generate per instance. Other than the explicitly listed output bindings here, all the processors' GraphOutputChannels can be binded to stream resource. The bind name then is the same as the GraphOutputChannel's name. |

### getGraphInputChannelSpecs

For processors with input_channel_specs, the processor must be explicitly
connected to another processor.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.GraphInputChannelSpec>` |   |

### setGraphInputChannelSpecs

For processors with input_channel_specs, the processor must be explicitly
connected to another processor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.GraphInputChannelSpec>` |

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

### getGraphOutputChannelSpecs

The output artifact specifications for the current processor.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.GraphOutputChannelSpec>` |   |

### setGraphOutputChannelSpecs

The output artifact specifications for the current processor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.GraphOutputChannelSpec>` |

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

### getInstanceResourceInputBindingSpecs

The input resource that needs to be fed from the application instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.InstanceResourceInputBindingSpec>` |   |

### setInstanceResourceInputBindingSpecs

The input resource that needs to be fed from the application instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.InstanceResourceInputBindingSpec>` |

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

### getInstanceResourceOutputBindingSpecs

The output resource that the processor will generate per instance.

Other than the explicitly listed output bindings here, all the processors'
GraphOutputChannels can be binded to stream resource. The bind name then is
the same as the GraphOutputChannel's name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.InstanceResourceOutputBindingSpec>` |   |

### setInstanceResourceOutputBindingSpecs

The output resource that the processor will generate per instance.

Other than the explicitly listed output bindings here, all the processors'
GraphOutputChannels can be binded to stream resource. The bind name then is
the same as the GraphOutputChannel's name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ProcessorIOSpec.InstanceResourceOutputBindingSpec>` |

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