Interface VideoAnnotationResultsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    VideoAnnotationResults, VideoAnnotationResults.Builder

    public interface VideoAnnotationResultsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getInputUri

        String getInputUri()
         Video file location in
         [Cloud Storage](https://cloud.google.com/storage/).
         
        string input_uri = 1;
        Returns:
        The inputUri.
      • getInputUriBytes

        com.google.protobuf.ByteString getInputUriBytes()
         Video file location in
         [Cloud Storage](https://cloud.google.com/storage/).
         
        string input_uri = 1;
        Returns:
        The bytes for inputUri.
      • hasSegment

        boolean hasSegment()
         Video segment on which the annotation is run.
         
        .google.cloud.videointelligence.v1.VideoSegment segment = 10;
        Returns:
        Whether the segment field is set.
      • getSegment

        VideoSegment getSegment()
         Video segment on which the annotation is run.
         
        .google.cloud.videointelligence.v1.VideoSegment segment = 10;
        Returns:
        The segment.
      • getSegmentOrBuilder

        VideoSegmentOrBuilder getSegmentOrBuilder()
         Video segment on which the annotation is run.
         
        .google.cloud.videointelligence.v1.VideoSegment segment = 10;
      • getSegmentLabelAnnotationsList

        List<LabelAnnotation> getSegmentLabelAnnotationsList()
         Topical label annotations on video level or user-specified segment level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;
      • getSegmentLabelAnnotations

        LabelAnnotation getSegmentLabelAnnotations​(int index)
         Topical label annotations on video level or user-specified segment level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;
      • getSegmentLabelAnnotationsCount

        int getSegmentLabelAnnotationsCount()
         Topical label annotations on video level or user-specified segment level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;
      • getSegmentLabelAnnotationsOrBuilderList

        List<? extends LabelAnnotationOrBuilder> getSegmentLabelAnnotationsOrBuilderList()
         Topical label annotations on video level or user-specified segment level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;
      • getSegmentLabelAnnotationsOrBuilder

        LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder​(int index)
         Topical label annotations on video level or user-specified segment level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;
      • getSegmentPresenceLabelAnnotationsList

        List<LabelAnnotation> getSegmentPresenceLabelAnnotationsList()
         Presence label annotations on video level or user-specified segment level.
         There is exactly one element for each unique label. Compared to the
         existing topical `segment_label_annotations`, this field presents more
         fine-grained, segment-level labels detected in video content and is made
         available only when the client sets `LabelDetectionConfig.model` to
         "builtin/latest" in the request.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;
      • getSegmentPresenceLabelAnnotations

        LabelAnnotation getSegmentPresenceLabelAnnotations​(int index)
         Presence label annotations on video level or user-specified segment level.
         There is exactly one element for each unique label. Compared to the
         existing topical `segment_label_annotations`, this field presents more
         fine-grained, segment-level labels detected in video content and is made
         available only when the client sets `LabelDetectionConfig.model` to
         "builtin/latest" in the request.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;
      • getSegmentPresenceLabelAnnotationsCount

        int getSegmentPresenceLabelAnnotationsCount()
         Presence label annotations on video level or user-specified segment level.
         There is exactly one element for each unique label. Compared to the
         existing topical `segment_label_annotations`, this field presents more
         fine-grained, segment-level labels detected in video content and is made
         available only when the client sets `LabelDetectionConfig.model` to
         "builtin/latest" in the request.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;
      • getSegmentPresenceLabelAnnotationsOrBuilderList

        List<? extends LabelAnnotationOrBuilder> getSegmentPresenceLabelAnnotationsOrBuilderList()
         Presence label annotations on video level or user-specified segment level.
         There is exactly one element for each unique label. Compared to the
         existing topical `segment_label_annotations`, this field presents more
         fine-grained, segment-level labels detected in video content and is made
         available only when the client sets `LabelDetectionConfig.model` to
         "builtin/latest" in the request.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;
      • getSegmentPresenceLabelAnnotationsOrBuilder

        LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder​(int index)
         Presence label annotations on video level or user-specified segment level.
         There is exactly one element for each unique label. Compared to the
         existing topical `segment_label_annotations`, this field presents more
         fine-grained, segment-level labels detected in video content and is made
         available only when the client sets `LabelDetectionConfig.model` to
         "builtin/latest" in the request.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;
      • getShotLabelAnnotationsList

        List<LabelAnnotation> getShotLabelAnnotationsList()
         Topical label annotations on shot level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;
      • getShotLabelAnnotations

        LabelAnnotation getShotLabelAnnotations​(int index)
         Topical label annotations on shot level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;
      • getShotLabelAnnotationsCount

        int getShotLabelAnnotationsCount()
         Topical label annotations on shot level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;
      • getShotLabelAnnotationsOrBuilderList

        List<? extends LabelAnnotationOrBuilder> getShotLabelAnnotationsOrBuilderList()
         Topical label annotations on shot level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;
      • getShotLabelAnnotationsOrBuilder

        LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder​(int index)
         Topical label annotations on shot level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;
      • getShotPresenceLabelAnnotationsList

        List<LabelAnnotation> getShotPresenceLabelAnnotationsList()
         Presence label annotations on shot level. There is exactly one element for
         each unique label. Compared to the existing topical
         `shot_label_annotations`, this field presents more fine-grained, shot-level
         labels detected in video content and is made available only when the client
         sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;
      • getShotPresenceLabelAnnotations

        LabelAnnotation getShotPresenceLabelAnnotations​(int index)
         Presence label annotations on shot level. There is exactly one element for
         each unique label. Compared to the existing topical
         `shot_label_annotations`, this field presents more fine-grained, shot-level
         labels detected in video content and is made available only when the client
         sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;
      • getShotPresenceLabelAnnotationsCount

        int getShotPresenceLabelAnnotationsCount()
         Presence label annotations on shot level. There is exactly one element for
         each unique label. Compared to the existing topical
         `shot_label_annotations`, this field presents more fine-grained, shot-level
         labels detected in video content and is made available only when the client
         sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;
      • getShotPresenceLabelAnnotationsOrBuilderList

        List<? extends LabelAnnotationOrBuilder> getShotPresenceLabelAnnotationsOrBuilderList()
         Presence label annotations on shot level. There is exactly one element for
         each unique label. Compared to the existing topical
         `shot_label_annotations`, this field presents more fine-grained, shot-level
         labels detected in video content and is made available only when the client
         sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;
      • getShotPresenceLabelAnnotationsOrBuilder

        LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder​(int index)
         Presence label annotations on shot level. There is exactly one element for
         each unique label. Compared to the existing topical
         `shot_label_annotations`, this field presents more fine-grained, shot-level
         labels detected in video content and is made available only when the client
         sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;
      • getFrameLabelAnnotationsList

        List<LabelAnnotation> getFrameLabelAnnotationsList()
         Label annotations on frame level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
      • getFrameLabelAnnotations

        LabelAnnotation getFrameLabelAnnotations​(int index)
         Label annotations on frame level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
      • getFrameLabelAnnotationsCount

        int getFrameLabelAnnotationsCount()
         Label annotations on frame level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
      • getFrameLabelAnnotationsOrBuilderList

        List<? extends LabelAnnotationOrBuilder> getFrameLabelAnnotationsOrBuilderList()
         Label annotations on frame level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
      • getFrameLabelAnnotationsOrBuilder

        LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder​(int index)
         Label annotations on frame level.
         There is exactly one element for each unique label.
         
        repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
      • getFaceAnnotationsList

        @Deprecated
        List<FaceAnnotation> getFaceAnnotationsList()
        Deprecated.
         Deprecated. Please use `face_detection_annotations` instead.
         
        repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
      • getFaceAnnotations

        @Deprecated
        FaceAnnotation getFaceAnnotations​(int index)
        Deprecated.
         Deprecated. Please use `face_detection_annotations` instead.
         
        repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
      • getFaceAnnotationsCount

        @Deprecated
        int getFaceAnnotationsCount()
        Deprecated.
         Deprecated. Please use `face_detection_annotations` instead.
         
        repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
      • getFaceAnnotationsOrBuilderList

        @Deprecated
        List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
        Deprecated.
         Deprecated. Please use `face_detection_annotations` instead.
         
        repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
      • getFaceAnnotationsOrBuilder

        @Deprecated
        FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder​(int index)
        Deprecated.
         Deprecated. Please use `face_detection_annotations` instead.
         
        repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
      • getFaceDetectionAnnotationsList

        List<FaceDetectionAnnotation> getFaceDetectionAnnotationsList()
         Face detection annotations.
         
        repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
      • getFaceDetectionAnnotations

        FaceDetectionAnnotation getFaceDetectionAnnotations​(int index)
         Face detection annotations.
         
        repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
      • getFaceDetectionAnnotationsCount

        int getFaceDetectionAnnotationsCount()
         Face detection annotations.
         
        repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
      • getFaceDetectionAnnotationsOrBuilderList

        List<? extends FaceDetectionAnnotationOrBuilder> getFaceDetectionAnnotationsOrBuilderList()
         Face detection annotations.
         
        repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
      • getFaceDetectionAnnotationsOrBuilder

        FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder​(int index)
         Face detection annotations.
         
        repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
      • getShotAnnotationsList

        List<VideoSegment> getShotAnnotationsList()
         Shot annotations. Each shot is represented as a video segment.
         
        repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
      • getShotAnnotations

        VideoSegment getShotAnnotations​(int index)
         Shot annotations. Each shot is represented as a video segment.
         
        repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
      • getShotAnnotationsCount

        int getShotAnnotationsCount()
         Shot annotations. Each shot is represented as a video segment.
         
        repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
      • getShotAnnotationsOrBuilderList

        List<? extends VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList()
         Shot annotations. Each shot is represented as a video segment.
         
        repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
      • getShotAnnotationsOrBuilder

        VideoSegmentOrBuilder getShotAnnotationsOrBuilder​(int index)
         Shot annotations. Each shot is represented as a video segment.
         
        repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
      • hasExplicitAnnotation

        boolean hasExplicitAnnotation()
         Explicit content annotation.
         
        .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
        Returns:
        Whether the explicitAnnotation field is set.
      • getExplicitAnnotation

        ExplicitContentAnnotation getExplicitAnnotation()
         Explicit content annotation.
         
        .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
        Returns:
        The explicitAnnotation.
      • getExplicitAnnotationOrBuilder

        ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()
         Explicit content annotation.
         
        .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
      • getSpeechTranscriptionsList

        List<SpeechTranscription> getSpeechTranscriptionsList()
         Speech transcription.
         
        repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
      • getSpeechTranscriptions

        SpeechTranscription getSpeechTranscriptions​(int index)
         Speech transcription.
         
        repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
      • getSpeechTranscriptionsCount

        int getSpeechTranscriptionsCount()
         Speech transcription.
         
        repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
      • getSpeechTranscriptionsOrBuilderList

        List<? extends SpeechTranscriptionOrBuilder> getSpeechTranscriptionsOrBuilderList()
         Speech transcription.
         
        repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
      • getSpeechTranscriptionsOrBuilder

        SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder​(int index)
         Speech transcription.
         
        repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
      • getTextAnnotationsList

        List<TextAnnotation> getTextAnnotationsList()
         OCR text detection and tracking.
         Annotations for list of detected text snippets. Each will have list of
         frame information associated with it.
         
        repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
      • getTextAnnotations

        TextAnnotation getTextAnnotations​(int index)
         OCR text detection and tracking.
         Annotations for list of detected text snippets. Each will have list of
         frame information associated with it.
         
        repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
      • getTextAnnotationsCount

        int getTextAnnotationsCount()
         OCR text detection and tracking.
         Annotations for list of detected text snippets. Each will have list of
         frame information associated with it.
         
        repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
      • getTextAnnotationsOrBuilderList

        List<? extends TextAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
         OCR text detection and tracking.
         Annotations for list of detected text snippets. Each will have list of
         frame information associated with it.
         
        repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
      • getTextAnnotationsOrBuilder

        TextAnnotationOrBuilder getTextAnnotationsOrBuilder​(int index)
         OCR text detection and tracking.
         Annotations for list of detected text snippets. Each will have list of
         frame information associated with it.
         
        repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
      • getObjectAnnotationsList

        List<ObjectTrackingAnnotation> getObjectAnnotationsList()
         Annotations for list of objects detected and tracked in video.
         
        repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
      • getObjectAnnotations

        ObjectTrackingAnnotation getObjectAnnotations​(int index)
         Annotations for list of objects detected and tracked in video.
         
        repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
      • getObjectAnnotationsCount

        int getObjectAnnotationsCount()
         Annotations for list of objects detected and tracked in video.
         
        repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
      • getObjectAnnotationsOrBuilderList

        List<? extends ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList()
         Annotations for list of objects detected and tracked in video.
         
        repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
      • getObjectAnnotationsOrBuilder

        ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder​(int index)
         Annotations for list of objects detected and tracked in video.
         
        repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
      • getLogoRecognitionAnnotationsList

        List<LogoRecognitionAnnotation> getLogoRecognitionAnnotationsList()
         Annotations for list of logos detected, tracked and recognized in video.
         
        repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
      • getLogoRecognitionAnnotations

        LogoRecognitionAnnotation getLogoRecognitionAnnotations​(int index)
         Annotations for list of logos detected, tracked and recognized in video.
         
        repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
      • getLogoRecognitionAnnotationsCount

        int getLogoRecognitionAnnotationsCount()
         Annotations for list of logos detected, tracked and recognized in video.
         
        repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
      • getLogoRecognitionAnnotationsOrBuilderList

        List<? extends LogoRecognitionAnnotationOrBuilder> getLogoRecognitionAnnotationsOrBuilderList()
         Annotations for list of logos detected, tracked and recognized in video.
         
        repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
      • getLogoRecognitionAnnotationsOrBuilder

        LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder​(int index)
         Annotations for list of logos detected, tracked and recognized in video.
         
        repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
      • getPersonDetectionAnnotationsList

        List<PersonDetectionAnnotation> getPersonDetectionAnnotationsList()
         Person detection annotations.
         
        repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
      • getPersonDetectionAnnotations

        PersonDetectionAnnotation getPersonDetectionAnnotations​(int index)
         Person detection annotations.
         
        repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
      • getPersonDetectionAnnotationsCount

        int getPersonDetectionAnnotationsCount()
         Person detection annotations.
         
        repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
      • getPersonDetectionAnnotationsOrBuilderList

        List<? extends PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsOrBuilderList()
         Person detection annotations.
         
        repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
      • getPersonDetectionAnnotationsOrBuilder

        PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder​(int index)
         Person detection annotations.
         
        repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
      • hasError

        boolean hasError()
         If set, indicates an error. Note that for a single `AnnotateVideoRequest`
         some videos may succeed and some may fail.
         
        .google.rpc.Status error = 9;
        Returns:
        Whether the error field is set.
      • getError

        com.google.rpc.Status getError()
         If set, indicates an error. Note that for a single `AnnotateVideoRequest`
         some videos may succeed and some may fail.
         
        .google.rpc.Status error = 9;
        Returns:
        The error.
      • getErrorOrBuilder

        com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         If set, indicates an error. Note that for a single `AnnotateVideoRequest`
         some videos may succeed and some may fail.
         
        .google.rpc.Status error = 9;