Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class NodeAnnotation.
Message describing annotations specific to application node.
Generated from protobuf message google.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation
Namespace
Google \ Cloud \ VisionAI \ V1 \ StreamWithAnnotationMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ node |
string
The node name of the application graph. |
↳ annotations |
array<Google\Cloud\VisionAI\V1\StreamAnnotation>
The node specific stream annotations. |
getNode
The node name of the application graph.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNode
The node name of the application graph.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAnnotations
The node specific stream annotations.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setAnnotations
The node specific stream annotations.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\VisionAI\V1\StreamAnnotation>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|