// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/videointelligence/v1/video_intelligence.proto

package com.google.cloud.videointelligence.v1;

public interface VideoAnnotationResultsOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.VideoAnnotationResults)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * Video file location in
   * [Google Cloud Storage](https://cloud.google.com/storage/).
   * </pre>
   *
   * <code>string input_uri = 1;</code>
   */
  java.lang.String getInputUri();
  /**
   * <pre>
   * Video file location in
   * [Google Cloud Storage](https://cloud.google.com/storage/).
   * </pre>
   *
   * <code>string input_uri = 1;</code>
   */
  com.google.protobuf.ByteString
      getInputUriBytes();

  /**
   * <pre>
   * Label annotations on video level or user specified segment level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;</code>
   */
  java.util.List<com.google.cloud.videointelligence.v1.LabelAnnotation> 
      getSegmentLabelAnnotationsList();
  /**
   * <pre>
   * Label annotations on video level or user specified segment level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;</code>
   */
  com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnnotations(int index);
  /**
   * <pre>
   * Label annotations on video level or user specified segment level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;</code>
   */
  int getSegmentLabelAnnotationsCount();
  /**
   * <pre>
   * Label annotations on video level or user specified segment level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;</code>
   */
  java.util.List<? extends com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> 
      getSegmentLabelAnnotationsOrBuilderList();
  /**
   * <pre>
   * Label annotations on video level or user specified segment level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;</code>
   */
  com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder(
      int index);

  /**
   * <pre>
   * Label annotations on shot level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;</code>
   */
  java.util.List<com.google.cloud.videointelligence.v1.LabelAnnotation> 
      getShotLabelAnnotationsList();
  /**
   * <pre>
   * Label annotations on shot level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;</code>
   */
  com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotations(int index);
  /**
   * <pre>
   * Label annotations on shot level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;</code>
   */
  int getShotLabelAnnotationsCount();
  /**
   * <pre>
   * Label annotations on shot level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;</code>
   */
  java.util.List<? extends com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> 
      getShotLabelAnnotationsOrBuilderList();
  /**
   * <pre>
   * Label annotations on shot level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;</code>
   */
  com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder(
      int index);

  /**
   * <pre>
   * Label annotations on frame level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;</code>
   */
  java.util.List<com.google.cloud.videointelligence.v1.LabelAnnotation> 
      getFrameLabelAnnotationsList();
  /**
   * <pre>
   * Label annotations on frame level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;</code>
   */
  com.google.cloud.videointelligence.v1.LabelAnnotation getFrameLabelAnnotations(int index);
  /**
   * <pre>
   * Label annotations on frame level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;</code>
   */
  int getFrameLabelAnnotationsCount();
  /**
   * <pre>
   * Label annotations on frame level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;</code>
   */
  java.util.List<? extends com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> 
      getFrameLabelAnnotationsOrBuilderList();
  /**
   * <pre>
   * Label annotations on frame level.
   * There is exactly one element for each unique label.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;</code>
   */
  com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder(
      int index);

  /**
   * <pre>
   * Face annotations. There is exactly one element for each unique face.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5;</code>
   */
  java.util.List<com.google.cloud.videointelligence.v1.FaceAnnotation> 
      getFaceAnnotationsList();
  /**
   * <pre>
   * Face annotations. There is exactly one element for each unique face.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5;</code>
   */
  com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index);
  /**
   * <pre>
   * Face annotations. There is exactly one element for each unique face.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5;</code>
   */
  int getFaceAnnotationsCount();
  /**
   * <pre>
   * Face annotations. There is exactly one element for each unique face.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5;</code>
   */
  java.util.List<? extends com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder> 
      getFaceAnnotationsOrBuilderList();
  /**
   * <pre>
   * Face annotations. There is exactly one element for each unique face.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5;</code>
   */
  com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(
      int index);

  /**
   * <pre>
   * Shot annotations. Each shot is represented as a video segment.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;</code>
   */
  java.util.List<com.google.cloud.videointelligence.v1.VideoSegment> 
      getShotAnnotationsList();
  /**
   * <pre>
   * Shot annotations. Each shot is represented as a video segment.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;</code>
   */
  com.google.cloud.videointelligence.v1.VideoSegment getShotAnnotations(int index);
  /**
   * <pre>
   * Shot annotations. Each shot is represented as a video segment.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;</code>
   */
  int getShotAnnotationsCount();
  /**
   * <pre>
   * Shot annotations. Each shot is represented as a video segment.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;</code>
   */
  java.util.List<? extends com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> 
      getShotAnnotationsOrBuilderList();
  /**
   * <pre>
   * Shot annotations. Each shot is represented as a video segment.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;</code>
   */
  com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder(
      int index);

  /**
   * <pre>
   * Explicit content annotation.
   * </pre>
   *
   * <code>.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;</code>
   */
  boolean hasExplicitAnnotation();
  /**
   * <pre>
   * Explicit content annotation.
   * </pre>
   *
   * <code>.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;</code>
   */
  com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getExplicitAnnotation();
  /**
   * <pre>
   * Explicit content annotation.
   * </pre>
   *
   * <code>.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;</code>
   */
  com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder();

  /**
   * <pre>
   * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
   * some videos may succeed and some may fail.
   * </pre>
   *
   * <code>.google.rpc.Status error = 9;</code>
   */
  boolean hasError();
  /**
   * <pre>
   * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
   * some videos may succeed and some may fail.
   * </pre>
   *
   * <code>.google.rpc.Status error = 9;</code>
   */
  com.google.rpc.Status getError();
  /**
   * <pre>
   * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
   * some videos may succeed and some may fail.
   * </pre>
   *
   * <code>.google.rpc.Status error = 9;</code>
   */
  com.google.rpc.StatusOrBuilder getErrorOrBuilder();
}
