// 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 ObjectTrackingAnnotationOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ObjectTrackingAnnotation)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Non-streaming batch mode ONLY.
   * Each object track corresponds to one video segment where it appears.
   * </pre>
   *
   * <code>.google.cloud.videointelligence.v1.VideoSegment segment = 3;</code>
   */
  boolean hasSegment();
  /**
   *
   *
   * <pre>
   * Non-streaming batch mode ONLY.
   * Each object track corresponds to one video segment where it appears.
   * </pre>
   *
   * <code>.google.cloud.videointelligence.v1.VideoSegment segment = 3;</code>
   */
  com.google.cloud.videointelligence.v1.VideoSegment getSegment();
  /**
   *
   *
   * <pre>
   * Non-streaming batch mode ONLY.
   * Each object track corresponds to one video segment where it appears.
   * </pre>
   *
   * <code>.google.cloud.videointelligence.v1.VideoSegment segment = 3;</code>
   */
  com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder();

  /**
   *
   *
   * <pre>
   * Streaming mode ONLY.
   * In streaming mode, we do not know the end time of a tracked object
   * before it is completed. Hence, there is no VideoSegment info returned.
   * Instead, we provide a unique identifiable integer track_id so that
   * the customers can correlate the results of the ongoing
   * ObjectTrackAnnotation of the same track_id over time.
   * </pre>
   *
   * <code>int64 track_id = 5;</code>
   */
  long getTrackId();

  /**
   *
   *
   * <pre>
   * Entity to specify the object category that this track is labeled as.
   * </pre>
   *
   * <code>.google.cloud.videointelligence.v1.Entity entity = 1;</code>
   */
  boolean hasEntity();
  /**
   *
   *
   * <pre>
   * Entity to specify the object category that this track is labeled as.
   * </pre>
   *
   * <code>.google.cloud.videointelligence.v1.Entity entity = 1;</code>
   */
  com.google.cloud.videointelligence.v1.Entity getEntity();
  /**
   *
   *
   * <pre>
   * Entity to specify the object category that this track is labeled as.
   * </pre>
   *
   * <code>.google.cloud.videointelligence.v1.Entity entity = 1;</code>
   */
  com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder();

  /**
   *
   *
   * <pre>
   * Object category's labeling confidence of this track.
   * </pre>
   *
   * <code>float confidence = 4;</code>
   */
  float getConfidence();

  /**
   *
   *
   * <pre>
   * Information corresponding to all frames where this object track appears.
   * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
   * messages in frames.
   * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;</code>
   */
  java.util.List<com.google.cloud.videointelligence.v1.ObjectTrackingFrame> getFramesList();
  /**
   *
   *
   * <pre>
   * Information corresponding to all frames where this object track appears.
   * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
   * messages in frames.
   * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;</code>
   */
  com.google.cloud.videointelligence.v1.ObjectTrackingFrame getFrames(int index);
  /**
   *
   *
   * <pre>
   * Information corresponding to all frames where this object track appears.
   * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
   * messages in frames.
   * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;</code>
   */
  int getFramesCount();
  /**
   *
   *
   * <pre>
   * Information corresponding to all frames where this object track appears.
   * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
   * messages in frames.
   * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;</code>
   */
  java.util.List<? extends com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder>
      getFramesOrBuilderList();
  /**
   *
   *
   * <pre>
   * Information corresponding to all frames where this object track appears.
   * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
   * messages in frames.
   * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
   * </pre>
   *
   * <code>repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;</code>
   */
  com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFramesOrBuilder(int index);

  public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.TrackInfoCase
      getTrackInfoCase();
}
