Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class AnalyzerDefinition.
Defines an Analyzer.
An analyzer processes data from its input streams using the logic defined in the Operator that it represents. Of course, it produces data for the output streams declared in the Operator.
Generated from protobuf message google.cloud.visionai.v1.AnalyzerDefinition
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ analyzer |
string
The name of this analyzer. Tentatively [a-z][a-z0-9](_[a-z0-9]+). |
↳ operator |
string
The name of the operator that this analyzer runs. Must match the name of a supported operator. |
↳ inputs |
array<AnalyzerDefinition\StreamInput>
Input streams. |
↳ attrs |
array|Google\Protobuf\Internal\MapField
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value. |
↳ debug_options |
AnalyzerDefinition\DebugOptions
Debug options. |
↳ operator_option |
AnalyzerDefinition\OperatorOption
Operator option. |
getAnalyzer
The name of this analyzer.
Tentatively [a-z][a-z0-9](_[a-z0-9]+).
| Returns | |
|---|---|
| Type | Description |
string |
|
setAnalyzer
The name of this analyzer.
Tentatively [a-z][a-z0-9](_[a-z0-9]+).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOperator
The name of the operator that this analyzer runs.
Must match the name of a supported operator.
| Returns | |
|---|---|
| Type | Description |
string |
|
setOperator
The name of the operator that this analyzer runs.
Must match the name of a supported operator.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInputs
Input streams.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setInputs
Input streams.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AnalyzerDefinition\StreamInput>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAttrs
The attribute values that this analyzer applies to the operator.
Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setAttrs
The attribute values that this analyzer applies to the operator.
Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDebugOptions
Debug options.
| Returns | |
|---|---|
| Type | Description |
AnalyzerDefinition\DebugOptions|null |
|
hasDebugOptions
clearDebugOptions
setDebugOptions
Debug options.
| Parameter | |
|---|---|
| Name | Description |
var |
AnalyzerDefinition\DebugOptions
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOperatorOption
Operator option.
| Returns | |
|---|---|
| Type | Description |
AnalyzerDefinition\OperatorOption|null |
|
hasOperatorOption
clearOperatorOption
setOperatorOption
Operator option.
| Parameter | |
|---|---|
| Name | Description |
var |
AnalyzerDefinition\OperatorOption
|
| Returns | |
|---|---|
| Type | Description |
$this |
|