VideoAnnotationResults
class VideoAnnotationResults extends Message
Annotation results for a single video.
Protobuf type Google\Cloud\Videointelligence\V1beta1\VideoAnnotationResults
Methods
No description
Video file location in Google Cloud Storage.
Video file location in Google Cloud Storage.
Label annotations. There is exactly one element for each unique label.
Label annotations. There is exactly one element for each unique label.
Face annotations. There is exactly one element for each unique face.
Face annotations. There is exactly one element for each unique face.
Shot annotations. Each shot is represented as a video segment.
Shot annotations. Each shot is represented as a video segment.
Safe search annotations.
Safe search annotations.
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;
at line 81
setInputUri(string $var)
Video file location in Google Cloud Storage.
Generated from protobuf field string input_uri = 1;
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;
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;
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;
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;
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;
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;
at line 162
RepeatedField
getSafeSearchAnnotations()
Safe search annotations.
Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;
at line 173
setSafeSearchAnnotations(array|RepeatedField $var)
Safe search annotations.
Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;
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;
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;