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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public java.lang.String getInputUri()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;
getInputUri
in interface VideoAnnotationResultsOrBuilder
public ByteString getInputUriBytes()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;
getInputUriBytes
in interface VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public int getShotAnnotationsCount()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1beta1.VideoSegment shot_annotations = 4;
getShotAnnotationsCount
in interface VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public java.util.List<SafeSearchAnnotation> getSafeSearchAnnotationsList()
Safe search annotations.
repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;
getSafeSearchAnnotationsList
in interface VideoAnnotationResultsOrBuilder
public java.util.List<? extends SafeSearchAnnotationOrBuilder> getSafeSearchAnnotationsOrBuilderList()
Safe search annotations.
repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;
getSafeSearchAnnotationsOrBuilderList
in interface VideoAnnotationResultsOrBuilder
public int getSafeSearchAnnotationsCount()
Safe search annotations.
repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;
getSafeSearchAnnotationsCount
in interface VideoAnnotationResultsOrBuilder
public SafeSearchAnnotation getSafeSearchAnnotations(int index)
Safe search annotations.
repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;
getSafeSearchAnnotations
in interface VideoAnnotationResultsOrBuilder
public SafeSearchAnnotationOrBuilder getSafeSearchAnnotationsOrBuilder(int index)
Safe search annotations.
repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6;
getSafeSearchAnnotationsOrBuilder
in interface VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public 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 VideoAnnotationResultsOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static VideoAnnotationResults parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoAnnotationResults parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoAnnotationResults parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoAnnotationResults parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoAnnotationResults parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoAnnotationResults parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VideoAnnotationResults parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static VideoAnnotationResults parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static VideoAnnotationResults parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static VideoAnnotationResults parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public VideoAnnotationResults.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static VideoAnnotationResults.Builder newBuilder()
public static VideoAnnotationResults.Builder newBuilder(VideoAnnotationResults prototype)
public VideoAnnotationResults.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected VideoAnnotationResults.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static VideoAnnotationResults getDefaultInstance()
public static Parser<VideoAnnotationResults> parser()
public Parser<VideoAnnotationResults> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public VideoAnnotationResults getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder