Interface VideoAnnotationResultsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VideoAnnotationResults
,VideoAnnotationResults.Builder
public interface VideoAnnotationResultsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.rpc.Status
getError()
If set, indicates an error.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
If set, indicates an error.ExplicitContentAnnotation
getExplicitAnnotation()
Explicit content annotation.ExplicitContentAnnotationOrBuilder
getExplicitAnnotationOrBuilder()
Explicit content annotation.LabelAnnotation
getFrameLabelAnnotations(int index)
Label annotations on frame level.int
getFrameLabelAnnotationsCount()
Label annotations on frame level.List<LabelAnnotation>
getFrameLabelAnnotationsList()
Label annotations on frame level.LabelAnnotationOrBuilder
getFrameLabelAnnotationsOrBuilder(int index)
Label annotations on frame level.List<? extends LabelAnnotationOrBuilder>
getFrameLabelAnnotationsOrBuilderList()
Label annotations on frame level.String
getInputUri()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).com.google.protobuf.ByteString
getInputUriBytes()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).ObjectTrackingAnnotation
getObjectAnnotations(int index)
Annotations for list of objects detected and tracked in video.int
getObjectAnnotationsCount()
Annotations for list of objects detected and tracked in video.List<ObjectTrackingAnnotation>
getObjectAnnotationsList()
Annotations for list of objects detected and tracked in video.ObjectTrackingAnnotationOrBuilder
getObjectAnnotationsOrBuilder(int index)
Annotations for list of objects detected and tracked in video.List<? extends ObjectTrackingAnnotationOrBuilder>
getObjectAnnotationsOrBuilderList()
Annotations for list of objects detected and tracked in video.LabelAnnotation
getSegmentLabelAnnotations(int index)
Label annotations on video level or user specified segment level.int
getSegmentLabelAnnotationsCount()
Label annotations on video level or user specified segment level.List<LabelAnnotation>
getSegmentLabelAnnotationsList()
Label annotations on video level or user specified segment level.LabelAnnotationOrBuilder
getSegmentLabelAnnotationsOrBuilder(int index)
Label annotations on video level or user specified segment level.List<? extends LabelAnnotationOrBuilder>
getSegmentLabelAnnotationsOrBuilderList()
Label annotations on video level or user specified segment level.VideoSegment
getShotAnnotations(int index)
Shot annotations.int
getShotAnnotationsCount()
Shot annotations.List<VideoSegment>
getShotAnnotationsList()
Shot annotations.VideoSegmentOrBuilder
getShotAnnotationsOrBuilder(int index)
Shot annotations.List<? extends VideoSegmentOrBuilder>
getShotAnnotationsOrBuilderList()
Shot annotations.LabelAnnotation
getShotLabelAnnotations(int index)
Label annotations on shot level.int
getShotLabelAnnotationsCount()
Label annotations on shot level.List<LabelAnnotation>
getShotLabelAnnotationsList()
Label annotations on shot level.LabelAnnotationOrBuilder
getShotLabelAnnotationsOrBuilder(int index)
Label annotations on shot level.List<? extends LabelAnnotationOrBuilder>
getShotLabelAnnotationsOrBuilderList()
Label annotations on shot level.TextAnnotation
getTextAnnotations(int index)
OCR text detection and tracking.int
getTextAnnotationsCount()
OCR text detection and tracking.List<TextAnnotation>
getTextAnnotationsList()
OCR text detection and tracking.TextAnnotationOrBuilder
getTextAnnotationsOrBuilder(int index)
OCR text detection and tracking.List<? extends TextAnnotationOrBuilder>
getTextAnnotationsOrBuilderList()
OCR text detection and tracking.boolean
hasError()
If set, indicates an error.boolean
hasExplicitAnnotation()
Explicit content annotation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getInputUri
String getInputUri()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;
- Returns:
- The inputUri.
-
getInputUriBytes
com.google.protobuf.ByteString getInputUriBytes()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;
- Returns:
- The bytes for inputUri.
-
getSegmentLabelAnnotationsList
List<LabelAnnotation> getSegmentLabelAnnotationsList()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
getSegmentLabelAnnotations
LabelAnnotation getSegmentLabelAnnotations(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
getSegmentLabelAnnotationsCount
int getSegmentLabelAnnotationsCount()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
getSegmentLabelAnnotationsOrBuilderList
List<? extends LabelAnnotationOrBuilder> getSegmentLabelAnnotationsOrBuilderList()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
getSegmentLabelAnnotationsOrBuilder
LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
getShotLabelAnnotationsList
List<LabelAnnotation> getShotLabelAnnotationsList()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
getShotLabelAnnotations
LabelAnnotation getShotLabelAnnotations(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
getShotLabelAnnotationsCount
int getShotLabelAnnotationsCount()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
getShotLabelAnnotationsOrBuilderList
List<? extends LabelAnnotationOrBuilder> getShotLabelAnnotationsOrBuilderList()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
getShotLabelAnnotationsOrBuilder
LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
getFrameLabelAnnotationsList
List<LabelAnnotation> getFrameLabelAnnotationsList()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
getFrameLabelAnnotations
LabelAnnotation getFrameLabelAnnotations(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
getFrameLabelAnnotationsCount
int getFrameLabelAnnotationsCount()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
getFrameLabelAnnotationsOrBuilderList
List<? extends LabelAnnotationOrBuilder> getFrameLabelAnnotationsOrBuilderList()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
getFrameLabelAnnotationsOrBuilder
LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
getShotAnnotationsList
List<VideoSegment> getShotAnnotationsList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
getShotAnnotations
VideoSegment getShotAnnotations(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
getShotAnnotationsCount
int getShotAnnotationsCount()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
getShotAnnotationsOrBuilderList
List<? extends VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
getShotAnnotationsOrBuilder
VideoSegmentOrBuilder getShotAnnotationsOrBuilder(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
hasExplicitAnnotation
boolean hasExplicitAnnotation()
Explicit content annotation.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7;
- Returns:
- Whether the explicitAnnotation field is set.
-
getExplicitAnnotation
ExplicitContentAnnotation getExplicitAnnotation()
Explicit content annotation.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7;
- Returns:
- The explicitAnnotation.
-
getExplicitAnnotationOrBuilder
ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()
Explicit content annotation.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7;
-
getTextAnnotationsList
List<TextAnnotation> getTextAnnotationsList()
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
getTextAnnotations
TextAnnotation getTextAnnotations(int index)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
getTextAnnotationsCount
int getTextAnnotationsCount()
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
getTextAnnotationsOrBuilderList
List<? extends TextAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
getTextAnnotationsOrBuilder
TextAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
getObjectAnnotationsList
List<ObjectTrackingAnnotation> getObjectAnnotationsList()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
getObjectAnnotations
ObjectTrackingAnnotation getObjectAnnotations(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
getObjectAnnotationsCount
int getObjectAnnotationsCount()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
getObjectAnnotationsOrBuilderList
List<? extends ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
getObjectAnnotationsOrBuilder
ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
hasError
boolean hasError()
If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
.google.rpc.Status error = 9;
- Returns:
- Whether the error field is set.
-
getError
com.google.rpc.Status getError()
If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
.google.rpc.Status error = 9;
- Returns:
- The error.
-
getErrorOrBuilder
com.google.rpc.StatusOrBuilder getErrorOrBuilder()
If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
.google.rpc.Status error = 9;
-
-