public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 implements VideoAnnotationResultsOrBuilder
Annotation results for a single video.Protobuf type
google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults| Modifier and Type | Class and Description |
|---|---|
static class |
VideoAnnotationResults.Builder
Annotation results for a single video.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CELEBRITY_RECOGNITION_ANNOTATIONS_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
EXPLICIT_ANNOTATION_FIELD_NUMBER |
static int |
FACE_DETECTION_ANNOTATIONS_FIELD_NUMBER |
static int |
FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER |
static int |
INPUT_URI_FIELD_NUMBER |
static int |
LOGO_RECOGNITION_ANNOTATIONS_FIELD_NUMBER |
static int |
OBJECT_ANNOTATIONS_FIELD_NUMBER |
static int |
PERSON_DETECTION_ANNOTATIONS_FIELD_NUMBER |
static int |
SEGMENT_FIELD_NUMBER |
static int |
SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER |
static int |
SEGMENT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER |
static int |
SHOT_ANNOTATIONS_FIELD_NUMBER |
static int |
SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER |
static int |
SHOT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER |
static int |
SPEECH_TRANSCRIPTIONS_FIELD_NUMBER |
static int |
TEXT_ANNOTATIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CelebrityRecognitionAnnotation |
getCelebrityRecognitionAnnotations()
Celebrity recognition annotations.
|
CelebrityRecognitionAnnotationOrBuilder |
getCelebrityRecognitionAnnotationsOrBuilder()
Celebrity recognition annotations.
|
static VideoAnnotationResults |
getDefaultInstance() |
VideoAnnotationResults |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
FaceDetectionAnnotation |
getFaceDetectionAnnotations(int index)
Face detection annotations.
|
int |
getFaceDetectionAnnotationsCount()
Face detection annotations.
|
List<FaceDetectionAnnotation> |
getFaceDetectionAnnotationsList()
Face detection annotations.
|
FaceDetectionAnnotationOrBuilder |
getFaceDetectionAnnotationsOrBuilder(int index)
Face detection annotations.
|
List<? extends FaceDetectionAnnotationOrBuilder> |
getFaceDetectionAnnotationsOrBuilderList()
Face detection annotations.
|
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
[Cloud Storage](https://cloud.google.com/storage/).
|
com.google.protobuf.ByteString |
getInputUriBytes()
Video file location in
[Cloud Storage](https://cloud.google.com/storage/).
|
LogoRecognitionAnnotation |
getLogoRecognitionAnnotations(int index)
Annotations for list of logos detected, tracked and recognized in video.
|
int |
getLogoRecognitionAnnotationsCount()
Annotations for list of logos detected, tracked and recognized in video.
|
List<LogoRecognitionAnnotation> |
getLogoRecognitionAnnotationsList()
Annotations for list of logos detected, tracked and recognized in video.
|
LogoRecognitionAnnotationOrBuilder |
getLogoRecognitionAnnotationsOrBuilder(int index)
Annotations for list of logos detected, tracked and recognized in video.
|
List<? extends LogoRecognitionAnnotationOrBuilder> |
getLogoRecognitionAnnotationsOrBuilderList()
Annotations for list of logos detected, tracked and recognized in video.
|
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.
|
com.google.protobuf.Parser<VideoAnnotationResults> |
getParserForType() |
PersonDetectionAnnotation |
getPersonDetectionAnnotations(int index)
Person detection annotations.
|
int |
getPersonDetectionAnnotationsCount()
Person detection annotations.
|
List<PersonDetectionAnnotation> |
getPersonDetectionAnnotationsList()
Person detection annotations.
|
PersonDetectionAnnotationOrBuilder |
getPersonDetectionAnnotationsOrBuilder(int index)
Person detection annotations.
|
List<? extends PersonDetectionAnnotationOrBuilder> |
getPersonDetectionAnnotationsOrBuilderList()
Person detection annotations.
|
VideoSegment |
getSegment()
Video segment on which the annotation is run.
|
LabelAnnotation |
getSegmentLabelAnnotations(int index)
Topical label annotations on video level or user-specified segment level.
|
int |
getSegmentLabelAnnotationsCount()
Topical label annotations on video level or user-specified segment level.
|
List<LabelAnnotation> |
getSegmentLabelAnnotationsList()
Topical label annotations on video level or user-specified segment level.
|
LabelAnnotationOrBuilder |
getSegmentLabelAnnotationsOrBuilder(int index)
Topical label annotations on video level or user-specified segment level.
|
List<? extends LabelAnnotationOrBuilder> |
getSegmentLabelAnnotationsOrBuilderList()
Topical label annotations on video level or user-specified segment level.
|
VideoSegmentOrBuilder |
getSegmentOrBuilder()
Video segment on which the annotation is run.
|
LabelAnnotation |
getSegmentPresenceLabelAnnotations(int index)
Presence label annotations on video level or user-specified segment level.
|
int |
getSegmentPresenceLabelAnnotationsCount()
Presence label annotations on video level or user-specified segment level.
|
List<LabelAnnotation> |
getSegmentPresenceLabelAnnotationsList()
Presence label annotations on video level or user-specified segment level.
|
LabelAnnotationOrBuilder |
getSegmentPresenceLabelAnnotationsOrBuilder(int index)
Presence label annotations on video level or user-specified segment level.
|
List<? extends LabelAnnotationOrBuilder> |
getSegmentPresenceLabelAnnotationsOrBuilderList()
Presence label annotations on video level or user-specified segment level.
|
int |
getSerializedSize() |
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)
Topical label annotations on shot level.
|
int |
getShotLabelAnnotationsCount()
Topical label annotations on shot level.
|
List<LabelAnnotation> |
getShotLabelAnnotationsList()
Topical label annotations on shot level.
|
LabelAnnotationOrBuilder |
getShotLabelAnnotationsOrBuilder(int index)
Topical label annotations on shot level.
|
List<? extends LabelAnnotationOrBuilder> |
getShotLabelAnnotationsOrBuilderList()
Topical label annotations on shot level.
|
LabelAnnotation |
getShotPresenceLabelAnnotations(int index)
Presence label annotations on shot level.
|
int |
getShotPresenceLabelAnnotationsCount()
Presence label annotations on shot level.
|
List<LabelAnnotation> |
getShotPresenceLabelAnnotationsList()
Presence label annotations on shot level.
|
LabelAnnotationOrBuilder |
getShotPresenceLabelAnnotationsOrBuilder(int index)
Presence label annotations on shot level.
|
List<? extends LabelAnnotationOrBuilder> |
getShotPresenceLabelAnnotationsOrBuilderList()
Presence label annotations on shot level.
|
SpeechTranscription |
getSpeechTranscriptions(int index)
Speech transcription.
|
int |
getSpeechTranscriptionsCount()
Speech transcription.
|
List<SpeechTranscription> |
getSpeechTranscriptionsList()
Speech transcription.
|
SpeechTranscriptionOrBuilder |
getSpeechTranscriptionsOrBuilder(int index)
Speech transcription.
|
List<? extends SpeechTranscriptionOrBuilder> |
getSpeechTranscriptionsOrBuilderList()
Speech transcription.
|
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 |
hasCelebrityRecognitionAnnotations()
Celebrity recognition annotations.
|
boolean |
hasError()
If set, indicates an error.
|
boolean |
hasExplicitAnnotation()
Explicit content annotation.
|
int |
hashCode() |
boolean |
hasSegment()
Video segment on which the annotation is run.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VideoAnnotationResults.Builder |
newBuilder() |
static VideoAnnotationResults.Builder |
newBuilder(VideoAnnotationResults prototype) |
VideoAnnotationResults.Builder |
newBuilderForType() |
protected VideoAnnotationResults.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VideoAnnotationResults |
parseDelimitedFrom(InputStream input) |
static VideoAnnotationResults |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VideoAnnotationResults |
parseFrom(byte[] data) |
static VideoAnnotationResults |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VideoAnnotationResults |
parseFrom(ByteBuffer data) |
static VideoAnnotationResults |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VideoAnnotationResults |
parseFrom(com.google.protobuf.ByteString data) |
static VideoAnnotationResults |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VideoAnnotationResults |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VideoAnnotationResults |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VideoAnnotationResults |
parseFrom(InputStream input) |
static VideoAnnotationResults |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VideoAnnotationResults> |
parser() |
VideoAnnotationResults.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, waitpublic static final int INPUT_URI_FIELD_NUMBER
public static final int SEGMENT_FIELD_NUMBER
public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int SEGMENT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int SHOT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int FACE_DETECTION_ANNOTATIONS_FIELD_NUMBER
public static final int SHOT_ANNOTATIONS_FIELD_NUMBER
public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER
public static final int SPEECH_TRANSCRIPTIONS_FIELD_NUMBER
public static final int TEXT_ANNOTATIONS_FIELD_NUMBER
public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER
public static final int LOGO_RECOGNITION_ANNOTATIONS_FIELD_NUMBER
public static final int PERSON_DETECTION_ANNOTATIONS_FIELD_NUMBER
public static final int CELEBRITY_RECOGNITION_ANNOTATIONS_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getInputUri()
Video file location in [Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;getInputUri in interface VideoAnnotationResultsOrBuilderpublic com.google.protobuf.ByteString getInputUriBytes()
Video file location in [Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;getInputUriBytes in interface VideoAnnotationResultsOrBuilderpublic boolean hasSegment()
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10;hasSegment in interface VideoAnnotationResultsOrBuilderpublic VideoSegment getSegment()
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10;getSegment in interface VideoAnnotationResultsOrBuilderpublic VideoSegmentOrBuilder getSegmentOrBuilder()
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10;getSegmentOrBuilder in interface VideoAnnotationResultsOrBuilderpublic List<LabelAnnotation> 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.v1p3beta1.LabelAnnotation segment_label_annotations = 2;
getSegmentLabelAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic List<? extends LabelAnnotationOrBuilder> 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.v1p3beta1.LabelAnnotation segment_label_annotations = 2;
getSegmentLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic 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.v1p3beta1.LabelAnnotation segment_label_annotations = 2;
getSegmentLabelAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotation getSegmentLabelAnnotations(int index)
Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2;
getSegmentLabelAnnotations in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder(int index)
Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2;
getSegmentLabelAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic List<LabelAnnotation> 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.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23;
getSegmentPresenceLabelAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic List<? extends LabelAnnotationOrBuilder> 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.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23;
getSegmentPresenceLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic 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.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23;
getSegmentPresenceLabelAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotation getSegmentPresenceLabelAnnotations(int index)
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.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23;
getSegmentPresenceLabelAnnotations in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder(int index)
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.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23;
getSegmentPresenceLabelAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic List<LabelAnnotation> getShotLabelAnnotationsList()
Topical label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3;
getShotLabelAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic List<? extends LabelAnnotationOrBuilder> getShotLabelAnnotationsOrBuilderList()
Topical label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3;
getShotLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getShotLabelAnnotationsCount()
Topical label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3;
getShotLabelAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotation getShotLabelAnnotations(int index)
Topical label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3;
getShotLabelAnnotations in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder(int index)
Topical label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3;
getShotLabelAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic List<LabelAnnotation> 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.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24;
getShotPresenceLabelAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic List<? extends LabelAnnotationOrBuilder> 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.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24;
getShotPresenceLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic 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.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24;
getShotPresenceLabelAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotation getShotPresenceLabelAnnotations(int index)
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.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24;
getShotPresenceLabelAnnotations in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder(int index)
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.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24;
getShotPresenceLabelAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic List<LabelAnnotation> getFrameLabelAnnotationsList()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4;
getFrameLabelAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic List<? extends LabelAnnotationOrBuilder> getFrameLabelAnnotationsOrBuilderList()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4;
getFrameLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getFrameLabelAnnotationsCount()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4;
getFrameLabelAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotation getFrameLabelAnnotations(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4;
getFrameLabelAnnotations in interface VideoAnnotationResultsOrBuilderpublic LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4;
getFrameLabelAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic List<FaceDetectionAnnotation> getFaceDetectionAnnotationsList()
Face detection annotations.
repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13;
getFaceDetectionAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic List<? extends FaceDetectionAnnotationOrBuilder> getFaceDetectionAnnotationsOrBuilderList()
Face detection annotations.
repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13;
getFaceDetectionAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getFaceDetectionAnnotationsCount()
Face detection annotations.
repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13;
getFaceDetectionAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic FaceDetectionAnnotation getFaceDetectionAnnotations(int index)
Face detection annotations.
repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13;
getFaceDetectionAnnotations in interface VideoAnnotationResultsOrBuilderpublic FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder(int index)
Face detection annotations.
repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13;
getFaceDetectionAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic List<VideoSegment> getShotAnnotationsList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6;
getShotAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic List<? extends VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6;
getShotAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getShotAnnotationsCount()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6;
getShotAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic VideoSegment getShotAnnotations(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6;
getShotAnnotations in interface VideoAnnotationResultsOrBuilderpublic VideoSegmentOrBuilder getShotAnnotationsOrBuilder(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6;
getShotAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic boolean hasExplicitAnnotation()
Explicit content annotation.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7;
hasExplicitAnnotation in interface VideoAnnotationResultsOrBuilderpublic ExplicitContentAnnotation getExplicitAnnotation()
Explicit content annotation.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7;
getExplicitAnnotation in interface VideoAnnotationResultsOrBuilderpublic ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()
Explicit content annotation.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7;
getExplicitAnnotationOrBuilder in interface VideoAnnotationResultsOrBuilderpublic List<SpeechTranscription> getSpeechTranscriptionsList()
Speech transcription.
repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11;
getSpeechTranscriptionsList in interface VideoAnnotationResultsOrBuilderpublic List<? extends SpeechTranscriptionOrBuilder> getSpeechTranscriptionsOrBuilderList()
Speech transcription.
repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11;
getSpeechTranscriptionsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getSpeechTranscriptionsCount()
Speech transcription.
repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11;
getSpeechTranscriptionsCount in interface VideoAnnotationResultsOrBuilderpublic SpeechTranscription getSpeechTranscriptions(int index)
Speech transcription.
repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11;
getSpeechTranscriptions in interface VideoAnnotationResultsOrBuilderpublic SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder(int index)
Speech transcription.
repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11;
getSpeechTranscriptionsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic 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.v1p3beta1.TextAnnotation text_annotations = 12;
getTextAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic 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.v1p3beta1.TextAnnotation text_annotations = 12;
getTextAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic 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.v1p3beta1.TextAnnotation text_annotations = 12;
getTextAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic 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.v1p3beta1.TextAnnotation text_annotations = 12;
getTextAnnotations in interface VideoAnnotationResultsOrBuilderpublic 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.v1p3beta1.TextAnnotation text_annotations = 12;
getTextAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic List<ObjectTrackingAnnotation> getObjectAnnotationsList()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14;
getObjectAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic List<? extends ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14;
getObjectAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getObjectAnnotationsCount()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14;
getObjectAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic ObjectTrackingAnnotation getObjectAnnotations(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14;
getObjectAnnotations in interface VideoAnnotationResultsOrBuilderpublic ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14;
getObjectAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic List<LogoRecognitionAnnotation> getLogoRecognitionAnnotationsList()
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
getLogoRecognitionAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic List<? extends LogoRecognitionAnnotationOrBuilder> getLogoRecognitionAnnotationsOrBuilderList()
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
getLogoRecognitionAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getLogoRecognitionAnnotationsCount()
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
getLogoRecognitionAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
getLogoRecognitionAnnotations in interface VideoAnnotationResultsOrBuilderpublic LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder(int index)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
getLogoRecognitionAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic List<PersonDetectionAnnotation> getPersonDetectionAnnotationsList()
Person detection annotations.
repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20;
getPersonDetectionAnnotationsList in interface VideoAnnotationResultsOrBuilderpublic List<? extends PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsOrBuilderList()
Person detection annotations.
repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20;
getPersonDetectionAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilderpublic int getPersonDetectionAnnotationsCount()
Person detection annotations.
repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20;
getPersonDetectionAnnotationsCount in interface VideoAnnotationResultsOrBuilderpublic PersonDetectionAnnotation getPersonDetectionAnnotations(int index)
Person detection annotations.
repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20;
getPersonDetectionAnnotations in interface VideoAnnotationResultsOrBuilderpublic PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder(int index)
Person detection annotations.
repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20;
getPersonDetectionAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilderpublic boolean hasCelebrityRecognitionAnnotations()
Celebrity recognition annotations.
.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21;
hasCelebrityRecognitionAnnotations in interface VideoAnnotationResultsOrBuilderpublic CelebrityRecognitionAnnotation getCelebrityRecognitionAnnotations()
Celebrity recognition annotations.
.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21;
getCelebrityRecognitionAnnotations in interface VideoAnnotationResultsOrBuilderpublic CelebrityRecognitionAnnotationOrBuilder getCelebrityRecognitionAnnotationsOrBuilder()
Celebrity recognition annotations.
.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21;
getCelebrityRecognitionAnnotationsOrBuilder 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 = 9;hasError in interface VideoAnnotationResultsOrBuilderpublic 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;getError in interface VideoAnnotationResultsOrBuilderpublic 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;getErrorOrBuilder in interface VideoAnnotationResultsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static VideoAnnotationResults parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VideoAnnotationResults parseFrom(InputStream input) throws IOException
IOExceptionpublic static VideoAnnotationResults parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VideoAnnotationResults parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VideoAnnotationResults parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VideoAnnotationResults parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VideoAnnotationResults parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VideoAnnotationResults.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VideoAnnotationResults.Builder newBuilder()
public static VideoAnnotationResults.Builder newBuilder(VideoAnnotationResults prototype)
public VideoAnnotationResults.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VideoAnnotationResults.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VideoAnnotationResults getDefaultInstance()
public static com.google.protobuf.Parser<VideoAnnotationResults> parser()
public com.google.protobuf.Parser<VideoAnnotationResults> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VideoAnnotationResults getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.