public final class VideoAnnotationResults extends GeneratedMessageV3 implements VideoAnnotationResultsOrBuilder
Annotation results for a single video.Protobuf type
google.cloud.videointelligence.v1beta1.VideoAnnotationResults| Modifier and Type | Class and Description |
|---|---|
static class |
VideoAnnotationResults.Builder
Annotation results for a single video.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_FIELD_NUMBER |
static int |
FACE_ANNOTATIONS_FIELD_NUMBER |
static int |
INPUT_URI_FIELD_NUMBER |
static int |
LABEL_ANNOTATIONS_FIELD_NUMBER |
static int |
SAFE_SEARCH_ANNOTATIONS_FIELD_NUMBER |
static int |
SHOT_ANNOTATIONS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int INPUT_URI_FIELD_NUMBER
public static final int LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int FACE_ANNOTATIONS_FIELD_NUMBER
public static final int SHOT_ANNOTATIONS_FIELD_NUMBER
public static final int SAFE_SEARCH_ANNOTATIONS_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getInputUri()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;getInputUri in interface VideoAnnotationResultsOrBuilderpublic ByteString getInputUriBytes()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;getInputUriBytes in interface VideoAnnotationResultsOrBuilderpublic java.util.List<LabelAnnotation> getLabelAnnotationsList()
Label annotations. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1beta1.LabelAnnotation label_annotations = 2;getLabelAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic java.util.List<? extends LabelAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()
Label annotations. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1beta1.LabelAnnotation label_annotations = 2;getLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getLabelAnnotationsCount()
Label annotations. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1beta1.LabelAnnotation label_annotations = 2;getLabelAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotation getLabelAnnotations(int index)
Label annotations. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1beta1.LabelAnnotation label_annotations = 2;getLabelAnnotations in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
Label annotations. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1beta1.LabelAnnotation label_annotations = 2;getLabelAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic java.util.List<FaceAnnotation> getFaceAnnotationsList()
Face annotations. There is exactly one element for each unique face.
repeated .google.cloud.videointelligence.v1beta1.FaceAnnotation face_annotations = 3;getFaceAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic java.util.List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
Face annotations. There is exactly one element for each unique face.
repeated .google.cloud.videointelligence.v1beta1.FaceAnnotation face_annotations = 3;getFaceAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getFaceAnnotationsCount()
Face annotations. There is exactly one element for each unique face.
repeated .google.cloud.videointelligence.v1beta1.FaceAnnotation face_annotations = 3;getFaceAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic FaceAnnotation getFaceAnnotations(int index)
Face annotations. There is exactly one element for each unique face.
repeated .google.cloud.videointelligence.v1beta1.FaceAnnotation face_annotations = 3;getFaceAnnotations in interface VideoAnnotationResultsOrBuilderpublic FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
Face annotations. There is exactly one element for each unique face.
repeated .google.cloud.videointelligence.v1beta1.FaceAnnotation face_annotations = 3;getFaceAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic java.util.List<VideoSegment> getShotAnnotationsList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1beta1.VideoSegment shot_annotations = 4;getShotAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic java.util.List<? extends VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1beta1.VideoSegment shot_annotations = 4;getShotAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getShotAnnotationsCount()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1beta1.VideoSegment shot_annotations = 4;getShotAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic VideoSegment getShotAnnotations(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1beta1.VideoSegment shot_annotations = 4;getShotAnnotations in interface VideoAnnotationResultsOrBuilderpublic VideoSegmentOrBuilder getShotAnnotationsOrBuilder(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1beta1.VideoSegment shot_annotations = 4;getShotAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic java.util.List<SafeSearchAnnotation> getSafeSearchAnnotationsList()
Safe search annotations.
repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;getSafeSearchAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic java.util.List<? extends SafeSearchAnnotationOrBuilder> getSafeSearchAnnotationsOrBuilderList()
Safe search annotations.
repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;getSafeSearchAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getSafeSearchAnnotationsCount()
Safe search annotations.
repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;getSafeSearchAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic SafeSearchAnnotation getSafeSearchAnnotations(int index)
Safe search annotations.
repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;getSafeSearchAnnotations in interface VideoAnnotationResultsOrBuilderpublic SafeSearchAnnotationOrBuilder getSafeSearchAnnotationsOrBuilder(int index)
Safe search annotations.
repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;getSafeSearchAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic 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 = 5;hasError in interface VideoAnnotationResultsOrBuilderpublic 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 = 5;getError in interface VideoAnnotationResultsOrBuilderpublic 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 = 5;getErrorOrBuilder in interface VideoAnnotationResultsOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static VideoAnnotationResults parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static VideoAnnotationResults parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static VideoAnnotationResults parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static VideoAnnotationResults parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic VideoAnnotationResults.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static VideoAnnotationResults.Builder newBuilder()
public static VideoAnnotationResults.Builder newBuilder(VideoAnnotationResults prototype)
public VideoAnnotationResults.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected VideoAnnotationResults.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static VideoAnnotationResults getDefaultInstance()
public static Parser<VideoAnnotationResults> parser()
public Parser<VideoAnnotationResults> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public VideoAnnotationResults getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder