Class StreamingVideoAnnotationResults (2.40.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.40.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   final   class  StreamingVideoAnnotationResults   extends   GeneratedMessageV3   implements   StreamingVideoAnnotationResultsOrBuilder  
   Streaming annotation results corresponding to a portion of the video
 that is currently being processed.
 Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  EXPLICIT_ANNOTATION_FIELD_NUMBER 
  
    
public   static   final   int   EXPLICIT_ANNOTATION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  LABEL_ANNOTATIONS_FIELD_NUMBER 
  
    
public   static   final   int   LABEL_ANNOTATIONS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  OBJECT_ANNOTATIONS_FIELD_NUMBER 
  
    
public   static   final   int   OBJECT_ANNOTATIONS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SHOT_ANNOTATIONS_FIELD_NUMBER 
  
    
public   static   final   int   SHOT_ANNOTATIONS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   StreamingVideoAnnotationResults   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   StreamingVideoAnnotationResults . Builder   newBuilder ()  
  
  newBuilder(StreamingVideoAnnotationResults prototype) 
  
    
public   static   StreamingVideoAnnotationResults . Builder   newBuilder ( StreamingVideoAnnotationResults   prototype )  
  
  
  
    
public   static   StreamingVideoAnnotationResults   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   StreamingVideoAnnotationResults   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   StreamingVideoAnnotationResults   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   StreamingVideoAnnotationResults   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   StreamingVideoAnnotationResults   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   StreamingVideoAnnotationResults   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   StreamingVideoAnnotationResults   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   StreamingVideoAnnotationResults   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   StreamingVideoAnnotationResults   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   StreamingVideoAnnotationResults   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   StreamingVideoAnnotationResults   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   StreamingVideoAnnotationResults   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<StreamingVideoAnnotationResults>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   StreamingVideoAnnotationResults   getDefaultInstanceForType ()  
  
  getExplicitAnnotation() 
  
    
public   ExplicitContentAnnotation   getExplicitAnnotation ()  
   Explicit content annotation results.
 
 .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
 
getExplicitAnnotationOrBuilder() 
  
    
public   ExplicitContentAnnotationOrBuilder   getExplicitAnnotationOrBuilder ()  
   Explicit content annotation results.
 
 .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
 
getLabelAnnotations(int index) 
  
    
public   LabelAnnotation   getLabelAnnotations ( int   index )  
   Label annotation results.
 repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getLabelAnnotationsCount() 
  
    
public   int   getLabelAnnotationsCount ()  
   Label annotation results.
 repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getLabelAnnotationsList() 
  
    
public   List<LabelAnnotation>   getLabelAnnotationsList ()  
   Label annotation results.
 repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
 
getLabelAnnotationsOrBuilder(int index) 
  
    
public   LabelAnnotationOrBuilder   getLabelAnnotationsOrBuilder ( int   index )  
   Label annotation results.
 repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getLabelAnnotationsOrBuilderList() 
  
    
public   List <?   extends   LabelAnnotationOrBuilder >  getLabelAnnotationsOrBuilderList ()  
   Label annotation results.
 repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
 
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder > 
     
  
  getObjectAnnotations(int index) 
  
    
public   ObjectTrackingAnnotation   getObjectAnnotations ( int   index )  
   Object tracking results.
 
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getObjectAnnotationsCount() 
  
    
public   int   getObjectAnnotationsCount ()  
   Object tracking results.
 
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getObjectAnnotationsList() 
  
    
public   List<ObjectTrackingAnnotation>   getObjectAnnotationsList ()  
   Object tracking results.
 
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
 
getObjectAnnotationsOrBuilder(int index) 
  
    
public   ObjectTrackingAnnotationOrBuilder   getObjectAnnotationsOrBuilder ( int   index )  
   Object tracking results.
 
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getObjectAnnotationsOrBuilderList() 
  
    
public   List <?   extends   ObjectTrackingAnnotationOrBuilder >  getObjectAnnotationsOrBuilderList ()  
   Object tracking results.
 
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
 
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder > 
     
  
  getParserForType() 
  
    
public   Parser<StreamingVideoAnnotationResults>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getShotAnnotations(int index) 
  
    
public   VideoSegment   getShotAnnotations ( int   index )  
   Shot annotation results. Each shot is represented as a video segment.
 repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getShotAnnotationsCount() 
  
    
public   int   getShotAnnotationsCount ()  
   Shot annotation results. Each shot is represented as a video segment.
 repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getShotAnnotationsList() 
  
    
public   List<VideoSegment>   getShotAnnotationsList ()  
   Shot annotation results. Each shot is represented as a video segment.
 repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;
 
getShotAnnotationsOrBuilder(int index) 
  
    
public   VideoSegmentOrBuilder   getShotAnnotationsOrBuilder ( int   index )  
   Shot annotation results. Each shot is represented as a video segment.
 repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getShotAnnotationsOrBuilderList() 
  
    
public   List <?   extends   VideoSegmentOrBuilder >  getShotAnnotationsOrBuilderList ()  
   Shot annotation results. Each shot is represented as a video segment.
 repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;
 
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder > 
     
  
  hasExplicitAnnotation() 
  
    
public   boolean   hasExplicitAnnotation ()  
   Explicit content annotation results.
 
 .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the explicitAnnotation field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   StreamingVideoAnnotationResults . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   StreamingVideoAnnotationResults . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   StreamingVideoAnnotationResults . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]