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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ graph_input_channel_specs |
array<ProcessorIOSpec\GraphInputChannelSpec>
For processors with input_channel_specs, the processor must be explicitly connected to another processor. |
↳ graph_output_channel_specs |
array<ProcessorIOSpec\GraphOutputChannelSpec>
The output artifact specifications for the current processor. |
↳ instance_resource_input_binding_specs |
array<ProcessorIOSpec\InstanceResourceInputBindingSpec>
The input resource that needs to be fed from the application instance. |
↳ instance_resource_output_binding_specs |
array<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 |
Google\Protobuf\Internal\RepeatedField |
|
setGraphInputChannelSpecs
For processors with input_channel_specs, the processor must be explicitly connected to another processor.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ProcessorIOSpec\GraphInputChannelSpec>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGraphOutputChannelSpecs
The output artifact specifications for the current processor.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setGraphOutputChannelSpecs
The output artifact specifications for the current processor.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ProcessorIOSpec\GraphOutputChannelSpec>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstanceResourceInputBindingSpecs
The input resource that needs to be fed from the application instance.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setInstanceResourceInputBindingSpecs
The input resource that needs to be fed from the application instance.
| Parameter | |
|---|---|
| Name | Description |
var |
array<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 |
Google\Protobuf\Internal\RepeatedField |
|
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<ProcessorIOSpec\InstanceResourceOutputBindingSpec>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|