class VideoAnnotationResults extends Message

Annotation results for a single video.

Protobuf type Google\Cloud\Videointelligence\V1beta1\VideoAnnotationResults

Methods

__construct()

No description

string
getInputUri()

Video file location in Google Cloud Storage.

setInputUri(string $var)

Video file location in Google Cloud Storage.

RepeatedField
getLabelAnnotations()

Label annotations. There is exactly one element for each unique label.

setLabelAnnotations(array|RepeatedField $var)

Label annotations. There is exactly one element for each unique label.

RepeatedField
getFaceAnnotations()

Face annotations. There is exactly one element for each unique face.

setFaceAnnotations(array|RepeatedField $var)

Face annotations. There is exactly one element for each unique face.

RepeatedField
getShotAnnotations()

Shot annotations. Each shot is represented as a video segment.

setShotAnnotations(array|RepeatedField $var)

Shot annotations. Each shot is represented as a video segment.

RepeatedField
getSafeSearchAnnotations()

Safe search annotations.

setSafeSearchAnnotations(array|RepeatedField $var)

Safe search annotations.

getError()

If set, indicates an error. Note that for a single AnnotateVideoRequest some videos may succeed and some may fail.

setError(Status $var)

If set, indicates an error. Note that for a single AnnotateVideoRequest some videos may succeed and some may fail.

Details

at line 57
__construct()

at line 69
string getInputUri()

Video file location in Google Cloud Storage.

Generated from protobuf field string input_uri = 1;

Return Value

string

at line 81
setInputUri(string $var)

Video file location in Google Cloud Storage.

Generated from protobuf field string input_uri = 1;

Parameters

string $var

at line 93
RepeatedField getLabelAnnotations()

Label annotations. There is exactly one element for each unique label.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.LabelAnnotation label_annotations = 2;

Return Value

RepeatedField

at line 104
setLabelAnnotations(array|RepeatedField $var)

Label annotations. There is exactly one element for each unique label.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.LabelAnnotation label_annotations = 2;

Parameters

array|RepeatedField $var

at line 116
RepeatedField getFaceAnnotations()

Face annotations. There is exactly one element for each unique face.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.FaceAnnotation face_annotations = 3;

Return Value

RepeatedField

at line 127
setFaceAnnotations(array|RepeatedField $var)

Face annotations. There is exactly one element for each unique face.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.FaceAnnotation face_annotations = 3;

Parameters

array|RepeatedField $var

at line 139
RepeatedField getShotAnnotations()

Shot annotations. Each shot is represented as a video segment.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.VideoSegment shot_annotations = 4;

Return Value

RepeatedField

at line 150
setShotAnnotations(array|RepeatedField $var)

Shot annotations. Each shot is represented as a video segment.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.VideoSegment shot_annotations = 4;

Parameters

array|RepeatedField $var

at line 162
RepeatedField getSafeSearchAnnotations()

Safe search annotations.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;

Return Value

RepeatedField

at line 173
setSafeSearchAnnotations(array|RepeatedField $var)

Safe search annotations.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;

Parameters

array|RepeatedField $var

at line 186
Status getError()

If set, indicates an error. Note that for a single AnnotateVideoRequest some videos may succeed and some may fail.

Generated from protobuf field .google.rpc.Status error = 5;

Return Value

Status

at line 198
setError(Status $var)

If set, indicates an error. Note that for a single AnnotateVideoRequest some videos may succeed and some may fail.

Generated from protobuf field .google.rpc.Status error = 5;

Parameters

Status $var