Send feedback
Class StreamingVideoAnnotationResults (2.2.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.1 keyboard_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
Static Fields
EXPLICIT_ANNOTATION_FIELD_NUMBER
public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER
Field Value
LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int LABEL_ANNOTATIONS_FIELD_NUMBER
Field Value
OBJECT_ANNOTATIONS_FIELD_NUMBER
public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER
Field Value
SHOT_ANNOTATIONS_FIELD_NUMBER
public static final int SHOT_ANNOTATIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StreamingVideoAnnotationResults getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static StreamingVideoAnnotationResults . Builder newBuilder ()
Returns
newBuilder(StreamingVideoAnnotationResults prototype)
public static StreamingVideoAnnotationResults . Builder newBuilder ( StreamingVideoAnnotationResults prototype )
Parameter
Returns
public static StreamingVideoAnnotationResults parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static StreamingVideoAnnotationResults parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StreamingVideoAnnotationResults parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamingVideoAnnotationResults parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StreamingVideoAnnotationResults parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingVideoAnnotationResults parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StreamingVideoAnnotationResults parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static StreamingVideoAnnotationResults parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static StreamingVideoAnnotationResults parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static StreamingVideoAnnotationResults parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StreamingVideoAnnotationResults parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamingVideoAnnotationResults parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<StreamingVideoAnnotationResults> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public StreamingVideoAnnotationResults getDefaultInstanceForType ()
Returns
getExplicitAnnotation()
public ExplicitContentAnnotation getExplicitAnnotation ()
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
Returns
getExplicitAnnotationOrBuilder()
public ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder ()
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
Returns
getLabelAnnotations(int index)
public LabelAnnotation getLabelAnnotations ( int index )
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Parameter
Returns
getLabelAnnotationsCount()
public int getLabelAnnotationsCount ()
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Returns
getLabelAnnotationsList()
public List<LabelAnnotation> getLabelAnnotationsList ()
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Returns
getLabelAnnotationsOrBuilder(int index)
public LabelAnnotationOrBuilder getLabelAnnotationsOrBuilder ( int index )
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Parameter
Returns
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
Returns
getObjectAnnotationsCount()
public int getObjectAnnotationsCount ()
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Returns
getObjectAnnotationsList()
public List<ObjectTrackingAnnotation> getObjectAnnotationsList ()
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Returns
getObjectAnnotationsOrBuilder(int index)
public ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder ( int index )
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Parameter
Returns
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 ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
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
Returns
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
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;
Returns
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
Returns
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 >
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public StreamingVideoAnnotationResults . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamingVideoAnnotationResults . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public StreamingVideoAnnotationResults . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
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-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]