Interface VideoAnnotationResultsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VideoAnnotationResults,VideoAnnotationResults.Builder
@Generated
public interface VideoAnnotationResultsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetError()If set, indicates an error.If set, indicates an error.Explicit content annotation.Explicit content annotation.getFaceAnnotations(int index) Face annotations.intFace annotations.Face annotations.getFaceAnnotationsOrBuilder(int index) Face annotations.List<? extends FaceAnnotationOrBuilder>Face annotations.getFrameLabelAnnotations(int index) Label annotations on frame level.intLabel annotations on frame level.Label annotations on frame level.getFrameLabelAnnotationsOrBuilder(int index) Label annotations on frame level.List<? extends LabelAnnotationOrBuilder>Label annotations on frame level.Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).com.google.protobuf.ByteStringVideo file location in [Google Cloud Storage](https://cloud.google.com/storage/).getSegmentLabelAnnotations(int index) Label annotations on video level or user specified segment level.intLabel annotations on video level or user specified segment level.Label annotations on video level or user specified segment level.getSegmentLabelAnnotationsOrBuilder(int index) Label annotations on video level or user specified segment level.List<? extends LabelAnnotationOrBuilder>Label annotations on video level or user specified segment level.getShotAnnotations(int index) Shot annotations.intShot annotations.Shot annotations.getShotAnnotationsOrBuilder(int index) Shot annotations.List<? extends VideoSegmentOrBuilder>Shot annotations.getShotLabelAnnotations(int index) Label annotations on shot level.intLabel annotations on shot level.Label annotations on shot level.getShotLabelAnnotationsOrBuilder(int index) Label annotations on shot level.List<? extends LabelAnnotationOrBuilder>Label annotations on shot level.booleanhasError()If set, indicates an error.booleanExplicit content annotation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.v1beta2.LabelAnnotation segment_label_annotations = 2; -
getSegmentLabelAnnotations
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1beta2.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.v1beta2.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.v1beta2.LabelAnnotation segment_label_annotations = 2; -
getSegmentLabelAnnotationsOrBuilder
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1beta2.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.v1beta2.LabelAnnotation shot_label_annotations = 3; -
getShotLabelAnnotations
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1beta2.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.v1beta2.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.v1beta2.LabelAnnotation shot_label_annotations = 3; -
getShotLabelAnnotationsOrBuilder
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1beta2.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.v1beta2.LabelAnnotation frame_label_annotations = 4; -
getFrameLabelAnnotations
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1beta2.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.v1beta2.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.v1beta2.LabelAnnotation frame_label_annotations = 4; -
getFrameLabelAnnotationsOrBuilder
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; -
getFaceAnnotationsList
List<FaceAnnotation> getFaceAnnotationsList()Face annotations. There is exactly one element for each unique face.
repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; -
getFaceAnnotations
Face annotations. There is exactly one element for each unique face.
repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; -
getFaceAnnotationsCount
int getFaceAnnotationsCount()Face annotations. There is exactly one element for each unique face.
repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; -
getFaceAnnotationsOrBuilderList
List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()Face annotations. There is exactly one element for each unique face.
repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; -
getFaceAnnotationsOrBuilder
Face annotations. There is exactly one element for each unique face.
repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; -
getShotAnnotationsList
List<VideoSegment> getShotAnnotationsList()Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; -
getShotAnnotations
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; -
getShotAnnotationsCount
int getShotAnnotationsCount()Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; -
getShotAnnotationsOrBuilderList
List<? extends VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList()Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; -
getShotAnnotationsOrBuilder
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; -
hasExplicitAnnotation
boolean hasExplicitAnnotation()Explicit content annotation.
.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7;- Returns:
- Whether the explicitAnnotation field is set.
-
getExplicitAnnotation
ExplicitContentAnnotation getExplicitAnnotation()Explicit content annotation.
.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7;- Returns:
- The explicitAnnotation.
-
getExplicitAnnotationOrBuilder
ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()Explicit content annotation.
.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; -
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
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
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;
-