Google Cloud Datalabeling V1beta1 Client - Class VideoEventAnnotation (0.5.4)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class VideoEventAnnotation.

Video event annotation.

Generated from protobuf message google.cloud.datalabeling.v1beta1.VideoEventAnnotation

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ annotation_spec Google\Cloud\DataLabeling\V1beta1\AnnotationSpec

Label of the event in this annotation.

↳ time_segment Google\Cloud\DataLabeling\V1beta1\TimeSegment

The time segment of the video to which the annotation applies.

getAnnotationSpec

Label of the event in this annotation.

Returns
Type Description
Google\Cloud\DataLabeling\V1beta1\AnnotationSpec|null

hasAnnotationSpec

clearAnnotationSpec

setAnnotationSpec

Label of the event in this annotation.

Parameter
Name Description
var Google\Cloud\DataLabeling\V1beta1\AnnotationSpec
Returns
Type Description
$this

getTimeSegment

The time segment of the video to which the annotation applies.

Returns
Type Description
Google\Cloud\DataLabeling\V1beta1\TimeSegment|null

hasTimeSegment

clearTimeSegment

setTimeSegment

The time segment of the video to which the annotation applies.

Parameter
Name Description
var Google\Cloud\DataLabeling\V1beta1\TimeSegment
Returns
Type Description
$this