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