All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.144.0
Show newest version
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto

package com.google.cloud.videointelligence.v1p3beta1;

public interface ObjectTrackingAnnotationOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Non-streaming batch mode ONLY.
   * Each object track corresponds to one video segment where it appears.
   * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; * * @return Whether the segment field is set. */ boolean hasSegment(); /** * * *
   * Non-streaming batch mode ONLY.
   * Each object track corresponds to one video segment where it appears.
   * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** * * *
   * Non-streaming batch mode ONLY.
   * Each object track corresponds to one video segment where it appears.
   * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; */ com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** * * *
   * 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.
   * 
* * int64 track_id = 5; * * @return Whether the trackId field is set. */ boolean hasTrackId(); /** * * *
   * 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.
   * 
* * int64 track_id = 5; * * @return The trackId. */ long getTrackId(); /** * * *
   * Entity to specify the object category that this track is labeled as.
   * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; * * @return Whether the entity field is set. */ boolean hasEntity(); /** * * *
   * Entity to specify the object category that this track is labeled as.
   * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; * * @return The entity. */ com.google.cloud.videointelligence.v1p3beta1.Entity getEntity(); /** * * *
   * Entity to specify the object category that this track is labeled as.
   * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; */ com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrBuilder(); /** * * *
   * Object category's labeling confidence of this track.
   * 
* * float confidence = 4; * * @return The confidence. */ float getConfidence(); /** * * *
   * 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.
   * 
* * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ java.util.List getFramesList(); /** * * *
   * 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.
   * 
* * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrames(int index); /** * * *
   * 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.
   * 
* * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ int getFramesCount(); /** * * *
   * 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.
   * 
* * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ java.util.List< ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> getFramesOrBuilderList(); /** * * *
   * 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.
   * 
* * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder( int index); public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.TrackInfoCase getTrackInfoCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy