Class VideoAnnotationResults
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.videointelligence.v1.VideoAnnotationResults
- All Implemented Interfaces:
VideoAnnotationResultsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class VideoAnnotationResults
extends com.google.protobuf.GeneratedMessage
implements VideoAnnotationResultsOrBuilder
Annotation results for a single video.Protobuf type
google.cloud.videointelligence.v1.VideoAnnotationResults- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAnnotation results for a single video.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic VideoAnnotationResultsstatic final com.google.protobuf.Descriptors.DescriptorgetError()If set, indicates an error.If set, indicates an error.Explicit content annotation.Explicit content annotation.getFaceAnnotations(int index) Deprecated.intDeprecated.Deprecated.getFaceAnnotationsOrBuilder(int index) Deprecated.List<? extends FaceAnnotationOrBuilder>Deprecated.getFaceDetectionAnnotations(int index) Face detection annotations.intFace detection annotations.Face detection annotations.getFaceDetectionAnnotationsOrBuilder(int index) Face detection annotations.List<? extends FaceDetectionAnnotationOrBuilder>Face detection 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 [Cloud Storage](https://cloud.google.com/storage/).com.google.protobuf.ByteStringVideo file location in [Cloud Storage](https://cloud.google.com/storage/).getLogoRecognitionAnnotations(int index) Annotations for list of logos detected, tracked and recognized in video.intAnnotations for list of logos detected, tracked and recognized in video.Annotations for list of logos detected, tracked and recognized in video.getLogoRecognitionAnnotationsOrBuilder(int index) Annotations for list of logos detected, tracked and recognized in video.List<? extends LogoRecognitionAnnotationOrBuilder>Annotations for list of logos detected, tracked and recognized in video.getObjectAnnotations(int index) Annotations for list of objects detected and tracked in video.intAnnotations for list of objects detected and tracked in video.Annotations for list of objects detected and tracked in video.getObjectAnnotationsOrBuilder(int index) Annotations for list of objects detected and tracked in video.List<? extends ObjectTrackingAnnotationOrBuilder>Annotations for list of objects detected and tracked in video.com.google.protobuf.Parser<VideoAnnotationResults>getPersonDetectionAnnotations(int index) Person detection annotations.intPerson detection annotations.Person detection annotations.getPersonDetectionAnnotationsOrBuilder(int index) Person detection annotations.List<? extends PersonDetectionAnnotationOrBuilder>Person detection annotations.Video segment on which the annotation is run.getSegmentLabelAnnotations(int index) Topical label annotations on video level or user-specified segment level.intTopical label annotations on video level or user-specified segment level.Topical label annotations on video level or user-specified segment level.getSegmentLabelAnnotationsOrBuilder(int index) Topical label annotations on video level or user-specified segment level.List<? extends LabelAnnotationOrBuilder>Topical label annotations on video level or user-specified segment level.Video segment on which the annotation is run.getSegmentPresenceLabelAnnotations(int index) Presence label annotations on video level or user-specified segment level.intPresence label annotations on video level or user-specified segment level.Presence label annotations on video level or user-specified segment level.getSegmentPresenceLabelAnnotationsOrBuilder(int index) Presence label annotations on video level or user-specified segment level.List<? extends LabelAnnotationOrBuilder>Presence label annotations on video level or user-specified segment level.intgetShotAnnotations(int index) Shot annotations.intShot annotations.Shot annotations.getShotAnnotationsOrBuilder(int index) Shot annotations.List<? extends VideoSegmentOrBuilder>Shot annotations.getShotLabelAnnotations(int index) Topical label annotations on shot level.intTopical label annotations on shot level.Topical label annotations on shot level.getShotLabelAnnotationsOrBuilder(int index) Topical label annotations on shot level.List<? extends LabelAnnotationOrBuilder>Topical label annotations on shot level.getShotPresenceLabelAnnotations(int index) Presence label annotations on shot level.intPresence label annotations on shot level.Presence label annotations on shot level.getShotPresenceLabelAnnotationsOrBuilder(int index) Presence label annotations on shot level.List<? extends LabelAnnotationOrBuilder>Presence label annotations on shot level.getSpeechTranscriptions(int index) Speech transcription.intSpeech transcription.Speech transcription.getSpeechTranscriptionsOrBuilder(int index) Speech transcription.List<? extends SpeechTranscriptionOrBuilder>Speech transcription.getTextAnnotations(int index) OCR text detection and tracking.intOCR text detection and tracking.OCR text detection and tracking.getTextAnnotationsOrBuilder(int index) OCR text detection and tracking.List<? extends TextAnnotationOrBuilder>OCR text detection and tracking.booleanhasError()If set, indicates an error.booleanExplicit content annotation.inthashCode()booleanVideo segment on which the annotation is run.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(VideoAnnotationResults prototype) protected VideoAnnotationResults.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static VideoAnnotationResultsparseDelimitedFrom(InputStream input) static VideoAnnotationResultsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoAnnotationResultsparseFrom(byte[] data) static VideoAnnotationResultsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoAnnotationResultsparseFrom(com.google.protobuf.ByteString data) static VideoAnnotationResultsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoAnnotationResultsparseFrom(com.google.protobuf.CodedInputStream input) static VideoAnnotationResultsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoAnnotationResultsparseFrom(InputStream input) static VideoAnnotationResultsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VideoAnnotationResultsparseFrom(ByteBuffer data) static VideoAnnotationResultsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VideoAnnotationResults>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INPUT_URI_FIELD_NUMBER
public static final int INPUT_URI_FIELD_NUMBER- See Also:
-
SEGMENT_FIELD_NUMBER
public static final int SEGMENT_FIELD_NUMBER- See Also:
-
SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER- See Also:
-
SEGMENT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int SEGMENT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER- See Also:
-
SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER- See Also:
-
SHOT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int SHOT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER- See Also:
-
FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER- See Also:
-
FACE_ANNOTATIONS_FIELD_NUMBER
public static final int FACE_ANNOTATIONS_FIELD_NUMBER- See Also:
-
FACE_DETECTION_ANNOTATIONS_FIELD_NUMBER
public static final int FACE_DETECTION_ANNOTATIONS_FIELD_NUMBER- See Also:
-
SHOT_ANNOTATIONS_FIELD_NUMBER
public static final int SHOT_ANNOTATIONS_FIELD_NUMBER- See Also:
-
EXPLICIT_ANNOTATION_FIELD_NUMBER
public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER- See Also:
-
SPEECH_TRANSCRIPTIONS_FIELD_NUMBER
public static final int SPEECH_TRANSCRIPTIONS_FIELD_NUMBER- See Also:
-
TEXT_ANNOTATIONS_FIELD_NUMBER
public static final int TEXT_ANNOTATIONS_FIELD_NUMBER- See Also:
-
OBJECT_ANNOTATIONS_FIELD_NUMBER
public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER- See Also:
-
LOGO_RECOGNITION_ANNOTATIONS_FIELD_NUMBER
public static final int LOGO_RECOGNITION_ANNOTATIONS_FIELD_NUMBER- See Also:
-
PERSON_DETECTION_ANNOTATIONS_FIELD_NUMBER
public static final int PERSON_DETECTION_ANNOTATIONS_FIELD_NUMBER- See Also:
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getInputUri
Video file location in [Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;- Specified by:
getInputUriin interfaceVideoAnnotationResultsOrBuilder- Returns:
- The inputUri.
-
getInputUriBytes
public com.google.protobuf.ByteString getInputUriBytes()Video file location in [Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;- Specified by:
getInputUriBytesin interfaceVideoAnnotationResultsOrBuilder- Returns:
- The bytes for inputUri.
-
hasSegment
public boolean hasSegment()Video segment on which the annotation is run.
.google.cloud.videointelligence.v1.VideoSegment segment = 10;- Specified by:
hasSegmentin interfaceVideoAnnotationResultsOrBuilder- Returns:
- Whether the segment field is set.
-
getSegment
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1.VideoSegment segment = 10;- Specified by:
getSegmentin interfaceVideoAnnotationResultsOrBuilder- Returns:
- The segment.
-
getSegmentOrBuilder
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1.VideoSegment segment = 10;- Specified by:
getSegmentOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getSegmentLabelAnnotationsList
Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;- Specified by:
getSegmentLabelAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
getSegmentLabelAnnotationsOrBuilderList
Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;- Specified by:
getSegmentLabelAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getSegmentLabelAnnotationsCount
public int getSegmentLabelAnnotationsCount()Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;- Specified by:
getSegmentLabelAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getSegmentLabelAnnotations
Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;- Specified by:
getSegmentLabelAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getSegmentLabelAnnotationsOrBuilder
Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;- Specified by:
getSegmentLabelAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getSegmentPresenceLabelAnnotationsList
Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;- Specified by:
getSegmentPresenceLabelAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
getSegmentPresenceLabelAnnotationsOrBuilderList
Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;- Specified by:
getSegmentPresenceLabelAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getSegmentPresenceLabelAnnotationsCount
public int getSegmentPresenceLabelAnnotationsCount()Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;- Specified by:
getSegmentPresenceLabelAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getSegmentPresenceLabelAnnotations
Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;- Specified by:
getSegmentPresenceLabelAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getSegmentPresenceLabelAnnotationsOrBuilder
Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;- Specified by:
getSegmentPresenceLabelAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getShotLabelAnnotationsList
Topical label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;- Specified by:
getShotLabelAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
getShotLabelAnnotationsOrBuilderList
Topical label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;- Specified by:
getShotLabelAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getShotLabelAnnotationsCount
public int getShotLabelAnnotationsCount()Topical label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;- Specified by:
getShotLabelAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getShotLabelAnnotations
Topical label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;- Specified by:
getShotLabelAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getShotLabelAnnotationsOrBuilder
Topical label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;- Specified by:
getShotLabelAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getShotPresenceLabelAnnotationsList
Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;- Specified by:
getShotPresenceLabelAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
getShotPresenceLabelAnnotationsOrBuilderList
Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;- Specified by:
getShotPresenceLabelAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getShotPresenceLabelAnnotationsCount
public int getShotPresenceLabelAnnotationsCount()Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;- Specified by:
getShotPresenceLabelAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getShotPresenceLabelAnnotations
Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;- Specified by:
getShotPresenceLabelAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getShotPresenceLabelAnnotationsOrBuilder
Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;- Specified by:
getShotPresenceLabelAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getFrameLabelAnnotationsList
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;- Specified by:
getFrameLabelAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
getFrameLabelAnnotationsOrBuilderList
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;- Specified by:
getFrameLabelAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getFrameLabelAnnotationsCount
public int getFrameLabelAnnotationsCount()Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;- Specified by:
getFrameLabelAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getFrameLabelAnnotations
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;- Specified by:
getFrameLabelAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getFrameLabelAnnotationsOrBuilder
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;- Specified by:
getFrameLabelAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getFaceAnnotationsList
Deprecated.Deprecated. Please use `face_detection_annotations` instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];- Specified by:
getFaceAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
getFaceAnnotationsOrBuilderList
Deprecated.Deprecated. Please use `face_detection_annotations` instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];- Specified by:
getFaceAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getFaceAnnotationsCount
Deprecated.Deprecated. Please use `face_detection_annotations` instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];- Specified by:
getFaceAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getFaceAnnotations
Deprecated.Deprecated. Please use `face_detection_annotations` instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];- Specified by:
getFaceAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getFaceAnnotationsOrBuilder
Deprecated.Deprecated. Please use `face_detection_annotations` instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];- Specified by:
getFaceAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getFaceDetectionAnnotationsList
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;- Specified by:
getFaceDetectionAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
getFaceDetectionAnnotationsOrBuilderList
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;- Specified by:
getFaceDetectionAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getFaceDetectionAnnotationsCount
public int getFaceDetectionAnnotationsCount()Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;- Specified by:
getFaceDetectionAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getFaceDetectionAnnotations
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;- Specified by:
getFaceDetectionAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getFaceDetectionAnnotationsOrBuilder
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;- Specified by:
getFaceDetectionAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getShotAnnotationsList
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;- Specified by:
getShotAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
getShotAnnotationsOrBuilderList
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;- Specified by:
getShotAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getShotAnnotationsCount
public int getShotAnnotationsCount()Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;- Specified by:
getShotAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getShotAnnotations
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;- Specified by:
getShotAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getShotAnnotationsOrBuilder
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;- Specified by:
getShotAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
hasExplicitAnnotation
public boolean hasExplicitAnnotation()Explicit content annotation.
.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;- Specified by:
hasExplicitAnnotationin interfaceVideoAnnotationResultsOrBuilder- Returns:
- Whether the explicitAnnotation field is set.
-
getExplicitAnnotation
Explicit content annotation.
.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;- Specified by:
getExplicitAnnotationin interfaceVideoAnnotationResultsOrBuilder- Returns:
- The explicitAnnotation.
-
getExplicitAnnotationOrBuilder
Explicit content annotation.
.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;- Specified by:
getExplicitAnnotationOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getSpeechTranscriptionsList
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;- Specified by:
getSpeechTranscriptionsListin interfaceVideoAnnotationResultsOrBuilder
-
getSpeechTranscriptionsOrBuilderList
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;- Specified by:
getSpeechTranscriptionsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getSpeechTranscriptionsCount
public int getSpeechTranscriptionsCount()Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;- Specified by:
getSpeechTranscriptionsCountin interfaceVideoAnnotationResultsOrBuilder
-
getSpeechTranscriptions
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;- Specified by:
getSpeechTranscriptionsin interfaceVideoAnnotationResultsOrBuilder
-
getSpeechTranscriptionsOrBuilder
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;- Specified by:
getSpeechTranscriptionsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
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.v1.TextAnnotation text_annotations = 12;- Specified by:
getTextAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
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.v1.TextAnnotation text_annotations = 12;- Specified by:
getTextAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getTextAnnotationsCount
public 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.v1.TextAnnotation text_annotations = 12;- Specified by:
getTextAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getTextAnnotations
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.v1.TextAnnotation text_annotations = 12;- Specified by:
getTextAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getTextAnnotationsOrBuilder
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.v1.TextAnnotation text_annotations = 12;- Specified by:
getTextAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getObjectAnnotationsList
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;- Specified by:
getObjectAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
getObjectAnnotationsOrBuilderList
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;- Specified by:
getObjectAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getObjectAnnotationsCount
public int getObjectAnnotationsCount()Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;- Specified by:
getObjectAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getObjectAnnotations
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;- Specified by:
getObjectAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getObjectAnnotationsOrBuilder
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;- Specified by:
getObjectAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getLogoRecognitionAnnotationsList
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;- Specified by:
getLogoRecognitionAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
getLogoRecognitionAnnotationsOrBuilderList
public List<? extends LogoRecognitionAnnotationOrBuilder> getLogoRecognitionAnnotationsOrBuilderList()Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;- Specified by:
getLogoRecognitionAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getLogoRecognitionAnnotationsCount
public int getLogoRecognitionAnnotationsCount()Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;- Specified by:
getLogoRecognitionAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getLogoRecognitionAnnotations
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;- Specified by:
getLogoRecognitionAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getLogoRecognitionAnnotationsOrBuilder
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;- Specified by:
getLogoRecognitionAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
getPersonDetectionAnnotationsList
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;- Specified by:
getPersonDetectionAnnotationsListin interfaceVideoAnnotationResultsOrBuilder
-
getPersonDetectionAnnotationsOrBuilderList
public List<? extends PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsOrBuilderList()Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;- Specified by:
getPersonDetectionAnnotationsOrBuilderListin interfaceVideoAnnotationResultsOrBuilder
-
getPersonDetectionAnnotationsCount
public int getPersonDetectionAnnotationsCount()Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;- Specified by:
getPersonDetectionAnnotationsCountin interfaceVideoAnnotationResultsOrBuilder
-
getPersonDetectionAnnotations
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;- Specified by:
getPersonDetectionAnnotationsin interfaceVideoAnnotationResultsOrBuilder
-
getPersonDetectionAnnotationsOrBuilder
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;- Specified by:
getPersonDetectionAnnotationsOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
hasError
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 = 9;- Specified by:
hasErrorin interfaceVideoAnnotationResultsOrBuilder- Returns:
- Whether the error field is set.
-
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;- Specified by:
getErrorin interfaceVideoAnnotationResultsOrBuilder- Returns:
- The error.
-
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;- Specified by:
getErrorOrBuilderin interfaceVideoAnnotationResultsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VideoAnnotationResults parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoAnnotationResults parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoAnnotationResults parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoAnnotationResults parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoAnnotationResults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoAnnotationResults parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static VideoAnnotationResults parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static VideoAnnotationResults parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static VideoAnnotationResults parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static VideoAnnotationResults parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VideoAnnotationResults.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-