Google Cloud Vision Ai V1 Client - Class StreamWithAnnotation (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class StreamWithAnnotation.

Message describing Vision AI stream with application specific annotations.

All the StreamAnnotation object inside this message MUST have unique id.

Generated from protobuf message google.cloud.visionai.v1.StreamWithAnnotation

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ stream string

Vision AI Stream resource name.

↳ application_annotations array<StreamAnnotation>

Annotations that will be applied to the whole application.

↳ node_annotations array<StreamWithAnnotation\NodeAnnotation>

Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

getStream

Vision AI Stream resource name.

Returns
Type Description
string

setStream

Vision AI Stream resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getApplicationAnnotations

Annotations that will be applied to the whole application.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setApplicationAnnotations

Annotations that will be applied to the whole application.

Parameter
Name Description
var array<StreamAnnotation>
Returns
Type Description
$this

getNodeAnnotations

Annotations that will be applied to the specific node of the application.

If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNodeAnnotations

Annotations that will be applied to the specific node of the application.

If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

Parameter
Name Description
var array<StreamWithAnnotation\NodeAnnotation>
Returns
Type Description
$this