- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.13
- 2.1.0
- 2.0.27
public static final class VideoAnnotationResults.Builder extends GeneratedMessageV3.Builder<VideoAnnotationResults.Builder> implements VideoAnnotationResultsOrBuilder
Annotation results for a single video.
Protobuf type google.cloud.videointelligence.v1.VideoAnnotationResults
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VideoAnnotationResults.BuilderImplements
VideoAnnotationResultsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFaceAnnotations(Iterable<? extends FaceAnnotation> values)
public VideoAnnotationResults.Builder addAllFaceAnnotations(Iterable<? extends FaceAnnotation> values)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.FaceAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllFaceDetectionAnnotations(Iterable<? extends FaceDetectionAnnotation> values)
public VideoAnnotationResults.Builder addAllFaceDetectionAnnotations(Iterable<? extends FaceDetectionAnnotation> values)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.FaceDetectionAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllFrameLabelAnnotations(Iterable<? extends LabelAnnotation> values)
public VideoAnnotationResults.Builder addAllFrameLabelAnnotations(Iterable<? extends LabelAnnotation> values)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.LabelAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllLogoRecognitionAnnotations(Iterable<? extends LogoRecognitionAnnotation> values)
public VideoAnnotationResults.Builder addAllLogoRecognitionAnnotations(Iterable<? extends LogoRecognitionAnnotation> values)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllObjectAnnotations(Iterable<? extends ObjectTrackingAnnotation> values)
public VideoAnnotationResults.Builder addAllObjectAnnotations(Iterable<? extends ObjectTrackingAnnotation> values)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllPersonDetectionAnnotations(Iterable<? extends PersonDetectionAnnotation> values)
public VideoAnnotationResults.Builder addAllPersonDetectionAnnotations(Iterable<? extends PersonDetectionAnnotation> values)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.PersonDetectionAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllSegmentLabelAnnotations(Iterable<? extends LabelAnnotation> values)
public VideoAnnotationResults.Builder addAllSegmentLabelAnnotations(Iterable<? extends LabelAnnotation> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.LabelAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllSegmentPresenceLabelAnnotations(Iterable<? extends LabelAnnotation> values)
public VideoAnnotationResults.Builder addAllSegmentPresenceLabelAnnotations(Iterable<? extends LabelAnnotation> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.LabelAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllShotAnnotations(Iterable<? extends VideoSegment> values)
public VideoAnnotationResults.Builder addAllShotAnnotations(Iterable<? extends VideoSegment> values)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.VideoSegment> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllShotLabelAnnotations(Iterable<? extends LabelAnnotation> values)
public VideoAnnotationResults.Builder addAllShotLabelAnnotations(Iterable<? extends LabelAnnotation> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.LabelAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllShotPresenceLabelAnnotations(Iterable<? extends LabelAnnotation> values)
public VideoAnnotationResults.Builder addAllShotPresenceLabelAnnotations(Iterable<? extends LabelAnnotation> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.LabelAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllSpeechTranscriptions(Iterable<? extends SpeechTranscription> values)
public VideoAnnotationResults.Builder addAllSpeechTranscriptions(Iterable<? extends SpeechTranscription> values)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.SpeechTranscription> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllTextAnnotations(Iterable<? extends TextAnnotation> values)
public VideoAnnotationResults.Builder addAllTextAnnotations(Iterable<? extends TextAnnotation> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.TextAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFaceAnnotations(FaceAnnotation value)
public VideoAnnotationResults.Builder addFaceAnnotations(FaceAnnotation value)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | FaceAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFaceAnnotations(FaceAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addFaceAnnotations(FaceAnnotation.Builder builderForValue)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameter | |
---|---|
Name | Description |
builderForValue | FaceAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFaceAnnotations(int index, FaceAnnotation value)
public VideoAnnotationResults.Builder addFaceAnnotations(int index, FaceAnnotation value)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameters | |
---|---|
Name | Description |
index | int |
value | FaceAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | FaceAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFaceAnnotationsBuilder()
public FaceAnnotation.Builder addFaceAnnotationsBuilder()
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Returns | |
---|---|
Type | Description |
FaceAnnotation.Builder |
addFaceAnnotationsBuilder(int index)
public FaceAnnotation.Builder addFaceAnnotationsBuilder(int index)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Builder |
addFaceDetectionAnnotations(FaceDetectionAnnotation value)
public VideoAnnotationResults.Builder addFaceDetectionAnnotations(FaceDetectionAnnotation value)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameter | |
---|---|
Name | Description |
value | FaceDetectionAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFaceDetectionAnnotations(FaceDetectionAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addFaceDetectionAnnotations(FaceDetectionAnnotation.Builder builderForValue)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameter | |
---|---|
Name | Description |
builderForValue | FaceDetectionAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFaceDetectionAnnotations(int index, FaceDetectionAnnotation value)
public VideoAnnotationResults.Builder addFaceDetectionAnnotations(int index, FaceDetectionAnnotation value)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameters | |
---|---|
Name | Description |
index | int |
value | FaceDetectionAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFaceDetectionAnnotations(int index, FaceDetectionAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addFaceDetectionAnnotations(int index, FaceDetectionAnnotation.Builder builderForValue)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | FaceDetectionAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFaceDetectionAnnotationsBuilder()
public FaceDetectionAnnotation.Builder addFaceDetectionAnnotationsBuilder()
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Returns | |
---|---|
Type | Description |
FaceDetectionAnnotation.Builder |
addFaceDetectionAnnotationsBuilder(int index)
public FaceDetectionAnnotation.Builder addFaceDetectionAnnotationsBuilder(int index)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FaceDetectionAnnotation.Builder |
addFrameLabelAnnotations(LabelAnnotation value)
public VideoAnnotationResults.Builder addFrameLabelAnnotations(LabelAnnotation value)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameter | |
---|---|
Name | Description |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFrameLabelAnnotations(LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addFrameLabelAnnotations(LabelAnnotation.Builder builderForValue)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFrameLabelAnnotations(int index, LabelAnnotation value)
public VideoAnnotationResults.Builder addFrameLabelAnnotations(int index, LabelAnnotation value)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFrameLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addFrameLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addFrameLabelAnnotationsBuilder()
public LabelAnnotation.Builder addFrameLabelAnnotationsBuilder()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addFrameLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder addFrameLabelAnnotationsBuilder(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addLogoRecognitionAnnotations(LogoRecognitionAnnotation value)
public VideoAnnotationResults.Builder addLogoRecognitionAnnotations(LogoRecognitionAnnotation value)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameter | |
---|---|
Name | Description |
value | LogoRecognitionAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addLogoRecognitionAnnotations(LogoRecognitionAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addLogoRecognitionAnnotations(LogoRecognitionAnnotation.Builder builderForValue)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameter | |
---|---|
Name | Description |
builderForValue | LogoRecognitionAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addLogoRecognitionAnnotations(int index, LogoRecognitionAnnotation value)
public VideoAnnotationResults.Builder addLogoRecognitionAnnotations(int index, LogoRecognitionAnnotation value)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameters | |
---|---|
Name | Description |
index | int |
value | LogoRecognitionAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addLogoRecognitionAnnotations(int index, LogoRecognitionAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addLogoRecognitionAnnotations(int index, LogoRecognitionAnnotation.Builder builderForValue)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LogoRecognitionAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addLogoRecognitionAnnotationsBuilder()
public LogoRecognitionAnnotation.Builder addLogoRecognitionAnnotationsBuilder()
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Returns | |
---|---|
Type | Description |
LogoRecognitionAnnotation.Builder |
addLogoRecognitionAnnotationsBuilder(int index)
public LogoRecognitionAnnotation.Builder addLogoRecognitionAnnotationsBuilder(int index)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LogoRecognitionAnnotation.Builder |
addObjectAnnotations(ObjectTrackingAnnotation value)
public VideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation value)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameter | |
---|---|
Name | Description |
value | ObjectTrackingAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameter | |
---|---|
Name | Description |
builderForValue | ObjectTrackingAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addObjectAnnotations(int index, ObjectTrackingAnnotation value)
public VideoAnnotationResults.Builder addObjectAnnotations(int index, ObjectTrackingAnnotation value)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameters | |
---|---|
Name | Description |
index | int |
value | ObjectTrackingAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ObjectTrackingAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addObjectAnnotationsBuilder()
public ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Returns | |
---|---|
Type | Description |
ObjectTrackingAnnotation.Builder |
addObjectAnnotationsBuilder(int index)
public ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ObjectTrackingAnnotation.Builder |
addPersonDetectionAnnotations(PersonDetectionAnnotation value)
public VideoAnnotationResults.Builder addPersonDetectionAnnotations(PersonDetectionAnnotation value)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameter | |
---|---|
Name | Description |
value | PersonDetectionAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addPersonDetectionAnnotations(PersonDetectionAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addPersonDetectionAnnotations(PersonDetectionAnnotation.Builder builderForValue)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameter | |
---|---|
Name | Description |
builderForValue | PersonDetectionAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addPersonDetectionAnnotations(int index, PersonDetectionAnnotation value)
public VideoAnnotationResults.Builder addPersonDetectionAnnotations(int index, PersonDetectionAnnotation value)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameters | |
---|---|
Name | Description |
index | int |
value | PersonDetectionAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addPersonDetectionAnnotations(int index, PersonDetectionAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addPersonDetectionAnnotations(int index, PersonDetectionAnnotation.Builder builderForValue)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | PersonDetectionAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addPersonDetectionAnnotationsBuilder()
public PersonDetectionAnnotation.Builder addPersonDetectionAnnotationsBuilder()
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Returns | |
---|---|
Type | Description |
PersonDetectionAnnotation.Builder |
addPersonDetectionAnnotationsBuilder(int index)
public PersonDetectionAnnotation.Builder addPersonDetectionAnnotationsBuilder(int index)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PersonDetectionAnnotation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoAnnotationResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSegmentLabelAnnotations(LabelAnnotation value)
public VideoAnnotationResults.Builder addSegmentLabelAnnotations(LabelAnnotation value)
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;
Parameter | |
---|---|
Name | Description |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSegmentLabelAnnotations(LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addSegmentLabelAnnotations(LabelAnnotation.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSegmentLabelAnnotations(int index, LabelAnnotation value)
public VideoAnnotationResults.Builder addSegmentLabelAnnotations(int index, LabelAnnotation value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSegmentLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addSegmentLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSegmentLabelAnnotationsBuilder()
public LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder()
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;
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addSegmentLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder(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.v1.LabelAnnotation segment_label_annotations = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addSegmentPresenceLabelAnnotations(LabelAnnotation value)
public VideoAnnotationResults.Builder addSegmentPresenceLabelAnnotations(LabelAnnotation value)
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;
Parameter | |
---|---|
Name | Description |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSegmentPresenceLabelAnnotations(LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addSegmentPresenceLabelAnnotations(LabelAnnotation.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSegmentPresenceLabelAnnotations(int index, LabelAnnotation value)
public VideoAnnotationResults.Builder addSegmentPresenceLabelAnnotations(int index, LabelAnnotation value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSegmentPresenceLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addSegmentPresenceLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSegmentPresenceLabelAnnotationsBuilder()
public LabelAnnotation.Builder addSegmentPresenceLabelAnnotationsBuilder()
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;
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addSegmentPresenceLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder addSegmentPresenceLabelAnnotationsBuilder(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.v1.LabelAnnotation segment_presence_label_annotations = 23;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addShotAnnotations(VideoSegment value)
public VideoAnnotationResults.Builder addShotAnnotations(VideoSegment value)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameter | |
---|---|
Name | Description |
value | VideoSegment |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotAnnotations(VideoSegment.Builder builderForValue)
public VideoAnnotationResults.Builder addShotAnnotations(VideoSegment.Builder builderForValue)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | VideoSegment.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotAnnotations(int index, VideoSegment value)
public VideoAnnotationResults.Builder addShotAnnotations(int index, VideoSegment value)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameters | |
---|---|
Name | Description |
index | int |
value | VideoSegment |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotAnnotations(int index, VideoSegment.Builder builderForValue)
public VideoAnnotationResults.Builder addShotAnnotations(int index, VideoSegment.Builder builderForValue)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | VideoSegment.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotAnnotationsBuilder()
public VideoSegment.Builder addShotAnnotationsBuilder()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Returns | |
---|---|
Type | Description |
VideoSegment.Builder |
addShotAnnotationsBuilder(int index)
public VideoSegment.Builder addShotAnnotationsBuilder(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoSegment.Builder |
addShotLabelAnnotations(LabelAnnotation value)
public VideoAnnotationResults.Builder addShotLabelAnnotations(LabelAnnotation value)
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;
Parameter | |
---|---|
Name | Description |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotLabelAnnotations(LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addShotLabelAnnotations(LabelAnnotation.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotLabelAnnotations(int index, LabelAnnotation value)
public VideoAnnotationResults.Builder addShotLabelAnnotations(int index, LabelAnnotation value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addShotLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotLabelAnnotationsBuilder()
public LabelAnnotation.Builder addShotLabelAnnotationsBuilder()
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;
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addShotLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder addShotLabelAnnotationsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addShotPresenceLabelAnnotations(LabelAnnotation value)
public VideoAnnotationResults.Builder addShotPresenceLabelAnnotations(LabelAnnotation value)
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;
Parameter | |
---|---|
Name | Description |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotPresenceLabelAnnotations(LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addShotPresenceLabelAnnotations(LabelAnnotation.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotPresenceLabelAnnotations(int index, LabelAnnotation value)
public VideoAnnotationResults.Builder addShotPresenceLabelAnnotations(int index, LabelAnnotation value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotPresenceLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addShotPresenceLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotPresenceLabelAnnotationsBuilder()
public LabelAnnotation.Builder addShotPresenceLabelAnnotationsBuilder()
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;
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addShotPresenceLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder addShotPresenceLabelAnnotationsBuilder(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.v1.LabelAnnotation shot_presence_label_annotations = 24;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addSpeechTranscriptions(SpeechTranscription value)
public VideoAnnotationResults.Builder addSpeechTranscriptions(SpeechTranscription value)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameter | |
---|---|
Name | Description |
value | SpeechTranscription |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSpeechTranscriptions(SpeechTranscription.Builder builderForValue)
public VideoAnnotationResults.Builder addSpeechTranscriptions(SpeechTranscription.Builder builderForValue)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameter | |
---|---|
Name | Description |
builderForValue | SpeechTranscription.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSpeechTranscriptions(int index, SpeechTranscription value)
public VideoAnnotationResults.Builder addSpeechTranscriptions(int index, SpeechTranscription value)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameters | |
---|---|
Name | Description |
index | int |
value | SpeechTranscription |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSpeechTranscriptions(int index, SpeechTranscription.Builder builderForValue)
public VideoAnnotationResults.Builder addSpeechTranscriptions(int index, SpeechTranscription.Builder builderForValue)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | SpeechTranscription.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSpeechTranscriptionsBuilder()
public SpeechTranscription.Builder addSpeechTranscriptionsBuilder()
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Returns | |
---|---|
Type | Description |
SpeechTranscription.Builder |
addSpeechTranscriptionsBuilder(int index)
public SpeechTranscription.Builder addSpeechTranscriptionsBuilder(int index)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SpeechTranscription.Builder |
addTextAnnotations(TextAnnotation value)
public VideoAnnotationResults.Builder addTextAnnotations(TextAnnotation value)
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;
Parameter | |
---|---|
Name | Description |
value | TextAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addTextAnnotations(TextAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addTextAnnotations(TextAnnotation.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | TextAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addTextAnnotations(int index, TextAnnotation value)
public VideoAnnotationResults.Builder addTextAnnotations(int index, TextAnnotation value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | TextAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addTextAnnotations(int index, TextAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder addTextAnnotations(int index, TextAnnotation.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | TextAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addTextAnnotationsBuilder()
public TextAnnotation.Builder addTextAnnotationsBuilder()
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;
Returns | |
---|---|
Type | Description |
TextAnnotation.Builder |
addTextAnnotationsBuilder(int index)
public TextAnnotation.Builder addTextAnnotationsBuilder(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.v1.TextAnnotation text_annotations = 12;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
TextAnnotation.Builder |
build()
public VideoAnnotationResults build()
Returns | |
---|---|
Type | Description |
VideoAnnotationResults |
buildPartial()
public VideoAnnotationResults buildPartial()
Returns | |
---|---|
Type | Description |
VideoAnnotationResults |
clear()
public VideoAnnotationResults.Builder clear()
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearError()
public VideoAnnotationResults.Builder clearError()
If set, indicates an error. Note that for a single AnnotateVideoRequest
some videos may succeed and some may fail.
.google.rpc.Status error = 9;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearExplicitAnnotation()
public VideoAnnotationResults.Builder clearExplicitAnnotation()
Explicit content annotation.
.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearFaceAnnotations()
public VideoAnnotationResults.Builder clearFaceAnnotations()
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearFaceDetectionAnnotations()
public VideoAnnotationResults.Builder clearFaceDetectionAnnotations()
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearField(Descriptors.FieldDescriptor field)
public VideoAnnotationResults.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearFrameLabelAnnotations()
public VideoAnnotationResults.Builder clearFrameLabelAnnotations()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearInputUri()
public VideoAnnotationResults.Builder clearInputUri()
Video file location in Cloud Storage.
string input_uri = 1;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder | This builder for chaining. |
clearLogoRecognitionAnnotations()
public VideoAnnotationResults.Builder clearLogoRecognitionAnnotations()
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearObjectAnnotations()
public VideoAnnotationResults.Builder clearObjectAnnotations()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoAnnotationResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearPersonDetectionAnnotations()
public VideoAnnotationResults.Builder clearPersonDetectionAnnotations()
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearSegment()
public VideoAnnotationResults.Builder clearSegment()
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1.VideoSegment segment = 10;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearSegmentLabelAnnotations()
public VideoAnnotationResults.Builder clearSegmentLabelAnnotations()
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;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearSegmentPresenceLabelAnnotations()
public VideoAnnotationResults.Builder clearSegmentPresenceLabelAnnotations()
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;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearShotAnnotations()
public VideoAnnotationResults.Builder clearShotAnnotations()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearShotLabelAnnotations()
public VideoAnnotationResults.Builder clearShotLabelAnnotations()
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;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearShotPresenceLabelAnnotations()
public VideoAnnotationResults.Builder clearShotPresenceLabelAnnotations()
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;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearSpeechTranscriptions()
public VideoAnnotationResults.Builder clearSpeechTranscriptions()
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearTextAnnotations()
public VideoAnnotationResults.Builder clearTextAnnotations()
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;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clone()
public VideoAnnotationResults.Builder clone()
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
getDefaultInstanceForType()
public VideoAnnotationResults getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VideoAnnotationResults |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getError()
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 = 9;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status | The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
If set, indicates an error. Note that for a single AnnotateVideoRequest
some videos may succeed and some may fail.
.google.rpc.Status error = 9;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
getErrorOrBuilder()
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 = 9;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getExplicitAnnotation()
public ExplicitContentAnnotation getExplicitAnnotation()
Explicit content annotation.
.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
Returns | |
---|---|
Type | Description |
ExplicitContentAnnotation | The explicitAnnotation. |
getExplicitAnnotationBuilder()
public ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder()
Explicit content annotation.
.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
Returns | |
---|---|
Type | Description |
ExplicitContentAnnotation.Builder |
getExplicitAnnotationOrBuilder()
public ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()
Explicit content annotation.
.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
Returns | |
---|---|
Type | Description |
ExplicitContentAnnotationOrBuilder |
getFaceAnnotations(int index)
public FaceAnnotation getFaceAnnotations(int index)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FaceAnnotation |
getFaceAnnotationsBuilder(int index)
public FaceAnnotation.Builder getFaceAnnotationsBuilder(int index)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FaceAnnotation.Builder |
getFaceAnnotationsBuilderList()
public List<FaceAnnotation.Builder> getFaceAnnotationsBuilderList()
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Returns | |
---|---|
Type | Description |
List<Builder> |
getFaceAnnotationsCount()
public int getFaceAnnotationsCount()
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Returns | |
---|---|
Type | Description |
int |
getFaceAnnotationsList()
public List<FaceAnnotation> getFaceAnnotationsList()
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Returns | |
---|---|
Type | Description |
List<FaceAnnotation> |
getFaceAnnotationsOrBuilder(int index)
public FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FaceAnnotationOrBuilder |
getFaceAnnotationsOrBuilderList()
public List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder> |
getFaceDetectionAnnotations(int index)
public FaceDetectionAnnotation getFaceDetectionAnnotations(int index)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FaceDetectionAnnotation |
getFaceDetectionAnnotationsBuilder(int index)
public FaceDetectionAnnotation.Builder getFaceDetectionAnnotationsBuilder(int index)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FaceDetectionAnnotation.Builder |
getFaceDetectionAnnotationsBuilderList()
public List<FaceDetectionAnnotation.Builder> getFaceDetectionAnnotationsBuilderList()
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Returns | |
---|---|
Type | Description |
List<Builder> |
getFaceDetectionAnnotationsCount()
public int getFaceDetectionAnnotationsCount()
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Returns | |
---|---|
Type | Description |
int |
getFaceDetectionAnnotationsList()
public List<FaceDetectionAnnotation> getFaceDetectionAnnotationsList()
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Returns | |
---|---|
Type | Description |
List<FaceDetectionAnnotation> |
getFaceDetectionAnnotationsOrBuilder(int index)
public FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder(int index)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FaceDetectionAnnotationOrBuilder |
getFaceDetectionAnnotationsOrBuilderList()
public List<? extends FaceDetectionAnnotationOrBuilder> getFaceDetectionAnnotationsOrBuilderList()
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> |
getFrameLabelAnnotations(int index)
public LabelAnnotation getFrameLabelAnnotations(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation |
getFrameLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder getFrameLabelAnnotationsBuilder(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
getFrameLabelAnnotationsBuilderList()
public List<LabelAnnotation.Builder> getFrameLabelAnnotationsBuilderList()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
int |
getFrameLabelAnnotationsList()
public List<LabelAnnotation> 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;
Returns | |
---|---|
Type | Description |
List<LabelAnnotation> |
getFrameLabelAnnotationsOrBuilder(int index)
public LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotationOrBuilder |
getFrameLabelAnnotationsOrBuilderList()
public List<? extends LabelAnnotationOrBuilder> 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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> |
getInputUri()
public String getInputUri()
Video file location in Cloud Storage.
string input_uri = 1;
Returns | |
---|---|
Type | Description |
String | The inputUri. |
getInputUriBytes()
public ByteString getInputUriBytes()
Video file location in Cloud Storage.
string input_uri = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for inputUri. |
getLogoRecognitionAnnotations(int index)
public LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LogoRecognitionAnnotation |
getLogoRecognitionAnnotationsBuilder(int index)
public LogoRecognitionAnnotation.Builder getLogoRecognitionAnnotationsBuilder(int index)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LogoRecognitionAnnotation.Builder |
getLogoRecognitionAnnotationsBuilderList()
public List<LogoRecognitionAnnotation.Builder> getLogoRecognitionAnnotationsBuilderList()
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
int |
getLogoRecognitionAnnotationsList()
public List<LogoRecognitionAnnotation> getLogoRecognitionAnnotationsList()
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Returns | |
---|---|
Type | Description |
List<LogoRecognitionAnnotation> |
getLogoRecognitionAnnotationsOrBuilder(int index)
public LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder(int index)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LogoRecognitionAnnotationOrBuilder |
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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> |
getObjectAnnotations(int index)
public ObjectTrackingAnnotation getObjectAnnotations(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ObjectTrackingAnnotation |
getObjectAnnotationsBuilder(int index)
public ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ObjectTrackingAnnotation.Builder |
getObjectAnnotationsBuilderList()
public List<ObjectTrackingAnnotation.Builder> getObjectAnnotationsBuilderList()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Returns | |
---|---|
Type | Description |
List<Builder> |
getObjectAnnotationsCount()
public int getObjectAnnotationsCount()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Returns | |
---|---|
Type | Description |
int |
getObjectAnnotationsList()
public List<ObjectTrackingAnnotation> getObjectAnnotationsList()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Returns | |
---|---|
Type | Description |
List<ObjectTrackingAnnotation> |
getObjectAnnotationsOrBuilder(int index)
public ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ObjectTrackingAnnotationOrBuilder |
getObjectAnnotationsOrBuilderList()
public List<? extends ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> |
getPersonDetectionAnnotations(int index)
public PersonDetectionAnnotation getPersonDetectionAnnotations(int index)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PersonDetectionAnnotation |
getPersonDetectionAnnotationsBuilder(int index)
public PersonDetectionAnnotation.Builder getPersonDetectionAnnotationsBuilder(int index)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PersonDetectionAnnotation.Builder |
getPersonDetectionAnnotationsBuilderList()
public List<PersonDetectionAnnotation.Builder> getPersonDetectionAnnotationsBuilderList()
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Returns | |
---|---|
Type | Description |
List<Builder> |
getPersonDetectionAnnotationsCount()
public int getPersonDetectionAnnotationsCount()
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Returns | |
---|---|
Type | Description |
int |
getPersonDetectionAnnotationsList()
public List<PersonDetectionAnnotation> getPersonDetectionAnnotationsList()
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Returns | |
---|---|
Type | Description |
List<PersonDetectionAnnotation> |
getPersonDetectionAnnotationsOrBuilder(int index)
public PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder(int index)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PersonDetectionAnnotationOrBuilder |
getPersonDetectionAnnotationsOrBuilderList()
public List<? extends PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsOrBuilderList()
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> |
getSegment()
public VideoSegment getSegment()
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1.VideoSegment segment = 10;
Returns | |
---|---|
Type | Description |
VideoSegment | The segment. |
getSegmentBuilder()
public VideoSegment.Builder getSegmentBuilder()
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1.VideoSegment segment = 10;
Returns | |
---|---|
Type | Description |
VideoSegment.Builder |
getSegmentLabelAnnotations(int index)
public 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.v1.LabelAnnotation segment_label_annotations = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation |
getSegmentLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder(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.v1.LabelAnnotation segment_label_annotations = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
getSegmentLabelAnnotationsBuilderList()
public List<LabelAnnotation.Builder> getSegmentLabelAnnotationsBuilderList()
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
int |
getSegmentLabelAnnotationsList()
public 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.v1.LabelAnnotation segment_label_annotations = 2;
Returns | |
---|---|
Type | Description |
List<LabelAnnotation> |
getSegmentLabelAnnotationsOrBuilder(int index)
public 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.v1.LabelAnnotation segment_label_annotations = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotationOrBuilder |
getSegmentLabelAnnotationsOrBuilderList()
public 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.v1.LabelAnnotation segment_label_annotations = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> |
getSegmentOrBuilder()
public VideoSegmentOrBuilder getSegmentOrBuilder()
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1.VideoSegment segment = 10;
Returns | |
---|---|
Type | Description |
VideoSegmentOrBuilder |
getSegmentPresenceLabelAnnotations(int index)
public 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.v1.LabelAnnotation segment_presence_label_annotations = 23;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation |
getSegmentPresenceLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder getSegmentPresenceLabelAnnotationsBuilder(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.v1.LabelAnnotation segment_presence_label_annotations = 23;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
getSegmentPresenceLabelAnnotationsBuilderList()
public List<LabelAnnotation.Builder> getSegmentPresenceLabelAnnotationsBuilderList()
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
int |
getSegmentPresenceLabelAnnotationsList()
public 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.v1.LabelAnnotation segment_presence_label_annotations = 23;
Returns | |
---|---|
Type | Description |
List<LabelAnnotation> |
getSegmentPresenceLabelAnnotationsOrBuilder(int index)
public 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.v1.LabelAnnotation segment_presence_label_annotations = 23;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotationOrBuilder |
getSegmentPresenceLabelAnnotationsOrBuilderList()
public 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.v1.LabelAnnotation segment_presence_label_annotations = 23;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> |
getShotAnnotations(int index)
public VideoSegment getShotAnnotations(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoSegment |
getShotAnnotationsBuilder(int index)
public VideoSegment.Builder getShotAnnotationsBuilder(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoSegment.Builder |
getShotAnnotationsBuilderList()
public List<VideoSegment.Builder> getShotAnnotationsBuilderList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Returns | |
---|---|
Type | Description |
List<Builder> |
getShotAnnotationsCount()
public int getShotAnnotationsCount()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Returns | |
---|---|
Type | Description |
int |
getShotAnnotationsList()
public List<VideoSegment> getShotAnnotationsList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Returns | |
---|---|
Type | Description |
List<VideoSegment> |
getShotAnnotationsOrBuilder(int index)
public VideoSegmentOrBuilder getShotAnnotationsOrBuilder(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoSegmentOrBuilder |
getShotAnnotationsOrBuilderList()
public List<? extends VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> |
getShotLabelAnnotations(int index)
public LabelAnnotation getShotLabelAnnotations(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation |
getShotLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder getShotLabelAnnotationsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
getShotLabelAnnotationsBuilderList()
public List<LabelAnnotation.Builder> getShotLabelAnnotationsBuilderList()
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
int |
getShotLabelAnnotationsList()
public List<LabelAnnotation> 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;
Returns | |
---|---|
Type | Description |
List<LabelAnnotation> |
getShotLabelAnnotationsOrBuilder(int index)
public LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotationOrBuilder |
getShotLabelAnnotationsOrBuilderList()
public List<? extends LabelAnnotationOrBuilder> 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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> |
getShotPresenceLabelAnnotations(int index)
public 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.v1.LabelAnnotation shot_presence_label_annotations = 24;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation |
getShotPresenceLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder getShotPresenceLabelAnnotationsBuilder(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.v1.LabelAnnotation shot_presence_label_annotations = 24;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
getShotPresenceLabelAnnotationsBuilderList()
public List<LabelAnnotation.Builder> getShotPresenceLabelAnnotationsBuilderList()
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
int |
getShotPresenceLabelAnnotationsList()
public 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.v1.LabelAnnotation shot_presence_label_annotations = 24;
Returns | |
---|---|
Type | Description |
List<LabelAnnotation> |
getShotPresenceLabelAnnotationsOrBuilder(int index)
public 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.v1.LabelAnnotation shot_presence_label_annotations = 24;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelAnnotationOrBuilder |
getShotPresenceLabelAnnotationsOrBuilderList()
public 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.v1.LabelAnnotation shot_presence_label_annotations = 24;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> |
getSpeechTranscriptions(int index)
public SpeechTranscription getSpeechTranscriptions(int index)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SpeechTranscription |
getSpeechTranscriptionsBuilder(int index)
public SpeechTranscription.Builder getSpeechTranscriptionsBuilder(int index)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SpeechTranscription.Builder |
getSpeechTranscriptionsBuilderList()
public List<SpeechTranscription.Builder> getSpeechTranscriptionsBuilderList()
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Returns | |
---|---|
Type | Description |
List<Builder> |
getSpeechTranscriptionsCount()
public int getSpeechTranscriptionsCount()
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Returns | |
---|---|
Type | Description |
int |
getSpeechTranscriptionsList()
public List<SpeechTranscription> getSpeechTranscriptionsList()
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Returns | |
---|---|
Type | Description |
List<SpeechTranscription> |
getSpeechTranscriptionsOrBuilder(int index)
public SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder(int index)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SpeechTranscriptionOrBuilder |
getSpeechTranscriptionsOrBuilderList()
public List<? extends SpeechTranscriptionOrBuilder> getSpeechTranscriptionsOrBuilderList()
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> |
getTextAnnotations(int index)
public 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.v1.TextAnnotation text_annotations = 12;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
TextAnnotation |
getTextAnnotationsBuilder(int index)
public TextAnnotation.Builder getTextAnnotationsBuilder(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.v1.TextAnnotation text_annotations = 12;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
TextAnnotation.Builder |
getTextAnnotationsBuilderList()
public List<TextAnnotation.Builder> getTextAnnotationsBuilderList()
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
int |
getTextAnnotationsList()
public 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.v1.TextAnnotation text_annotations = 12;
Returns | |
---|---|
Type | Description |
List<TextAnnotation> |
getTextAnnotationsOrBuilder(int index)
public 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.v1.TextAnnotation text_annotations = 12;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
TextAnnotationOrBuilder |
getTextAnnotationsOrBuilderList()
public 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.v1.TextAnnotation text_annotations = 12;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder> |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the error field is set. |
hasExplicitAnnotation()
public boolean hasExplicitAnnotation()
Explicit content annotation.
.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the explicitAnnotation field is set. |
hasSegment()
public boolean hasSegment()
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1.VideoSegment segment = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the segment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeError(Status value)
public VideoAnnotationResults.Builder mergeError(Status value)
If set, indicates an error. Note that for a single AnnotateVideoRequest
some videos may succeed and some may fail.
.google.rpc.Status error = 9;
Parameter | |
---|---|
Name | Description |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
mergeExplicitAnnotation(ExplicitContentAnnotation value)
public VideoAnnotationResults.Builder mergeExplicitAnnotation(ExplicitContentAnnotation value)
Explicit content annotation.
.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
Parameter | |
---|---|
Name | Description |
value | ExplicitContentAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
mergeFrom(VideoAnnotationResults other)
public VideoAnnotationResults.Builder mergeFrom(VideoAnnotationResults other)
Parameter | |
---|---|
Name | Description |
other | VideoAnnotationResults |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VideoAnnotationResults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VideoAnnotationResults.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
mergeSegment(VideoSegment value)
public VideoAnnotationResults.Builder mergeSegment(VideoSegment value)
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1.VideoSegment segment = 10;
Parameter | |
---|---|
Name | Description |
value | VideoSegment |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoAnnotationResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeFaceAnnotations(int index)
public VideoAnnotationResults.Builder removeFaceAnnotations(int index)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeFaceDetectionAnnotations(int index)
public VideoAnnotationResults.Builder removeFaceDetectionAnnotations(int index)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeFrameLabelAnnotations(int index)
public VideoAnnotationResults.Builder removeFrameLabelAnnotations(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeLogoRecognitionAnnotations(int index)
public VideoAnnotationResults.Builder removeLogoRecognitionAnnotations(int index)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeObjectAnnotations(int index)
public VideoAnnotationResults.Builder removeObjectAnnotations(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removePersonDetectionAnnotations(int index)
public VideoAnnotationResults.Builder removePersonDetectionAnnotations(int index)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeSegmentLabelAnnotations(int index)
public VideoAnnotationResults.Builder removeSegmentLabelAnnotations(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.v1.LabelAnnotation segment_label_annotations = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeSegmentPresenceLabelAnnotations(int index)
public VideoAnnotationResults.Builder removeSegmentPresenceLabelAnnotations(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.v1.LabelAnnotation segment_presence_label_annotations = 23;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeShotAnnotations(int index)
public VideoAnnotationResults.Builder removeShotAnnotations(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeShotLabelAnnotations(int index)
public VideoAnnotationResults.Builder removeShotLabelAnnotations(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeShotPresenceLabelAnnotations(int index)
public VideoAnnotationResults.Builder removeShotPresenceLabelAnnotations(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.v1.LabelAnnotation shot_presence_label_annotations = 24;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeSpeechTranscriptions(int index)
public VideoAnnotationResults.Builder removeSpeechTranscriptions(int index)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeTextAnnotations(int index)
public VideoAnnotationResults.Builder removeTextAnnotations(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.v1.TextAnnotation text_annotations = 12;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setError(Status value)
public VideoAnnotationResults.Builder setError(Status value)
If set, indicates an error. Note that for a single AnnotateVideoRequest
some videos may succeed and some may fail.
.google.rpc.Status error = 9;
Parameter | |
---|---|
Name | Description |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setError(Status.Builder builderForValue)
public VideoAnnotationResults.Builder setError(Status.Builder builderForValue)
If set, indicates an error. Note that for a single AnnotateVideoRequest
some videos may succeed and some may fail.
.google.rpc.Status error = 9;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setExplicitAnnotation(ExplicitContentAnnotation value)
public VideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation value)
Explicit content annotation.
.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
Parameter | |
---|---|
Name | Description |
value | ExplicitContentAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue)
Explicit content annotation.
.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
Parameter | |
---|---|
Name | Description |
builderForValue | ExplicitContentAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setFaceAnnotations(int index, FaceAnnotation value)
public VideoAnnotationResults.Builder setFaceAnnotations(int index, FaceAnnotation value)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameters | |
---|---|
Name | Description |
index | int |
value | FaceAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
Deprecated. Please use face_detection_annotations
instead.
repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | FaceAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setFaceDetectionAnnotations(int index, FaceDetectionAnnotation value)
public VideoAnnotationResults.Builder setFaceDetectionAnnotations(int index, FaceDetectionAnnotation value)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameters | |
---|---|
Name | Description |
index | int |
value | FaceDetectionAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setFaceDetectionAnnotations(int index, FaceDetectionAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setFaceDetectionAnnotations(int index, FaceDetectionAnnotation.Builder builderForValue)
Face detection annotations.
repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | FaceDetectionAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VideoAnnotationResults.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setFrameLabelAnnotations(int index, LabelAnnotation value)
public VideoAnnotationResults.Builder setFrameLabelAnnotations(int index, LabelAnnotation value)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setFrameLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setFrameLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setInputUri(String value)
public VideoAnnotationResults.Builder setInputUri(String value)
Video file location in Cloud Storage.
string input_uri = 1;
Parameter | |
---|---|
Name | Description |
value | String The inputUri to set. |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder | This builder for chaining. |
setInputUriBytes(ByteString value)
public VideoAnnotationResults.Builder setInputUriBytes(ByteString value)
Video file location in Cloud Storage.
string input_uri = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for inputUri to set. |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder | This builder for chaining. |
setLogoRecognitionAnnotations(int index, LogoRecognitionAnnotation value)
public VideoAnnotationResults.Builder setLogoRecognitionAnnotations(int index, LogoRecognitionAnnotation value)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameters | |
---|---|
Name | Description |
index | int |
value | LogoRecognitionAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setLogoRecognitionAnnotations(int index, LogoRecognitionAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setLogoRecognitionAnnotations(int index, LogoRecognitionAnnotation.Builder builderForValue)
Annotations for list of logos detected, tracked and recognized in video.
repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LogoRecognitionAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setObjectAnnotations(int index, ObjectTrackingAnnotation value)
public VideoAnnotationResults.Builder setObjectAnnotations(int index, ObjectTrackingAnnotation value)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameters | |
---|---|
Name | Description |
index | int |
value | ObjectTrackingAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ObjectTrackingAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setPersonDetectionAnnotations(int index, PersonDetectionAnnotation value)
public VideoAnnotationResults.Builder setPersonDetectionAnnotations(int index, PersonDetectionAnnotation value)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameters | |
---|---|
Name | Description |
index | int |
value | PersonDetectionAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setPersonDetectionAnnotations(int index, PersonDetectionAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setPersonDetectionAnnotations(int index, PersonDetectionAnnotation.Builder builderForValue)
Person detection annotations.
repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | PersonDetectionAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoAnnotationResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setSegment(VideoSegment value)
public VideoAnnotationResults.Builder setSegment(VideoSegment value)
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1.VideoSegment segment = 10;
Parameter | |
---|---|
Name | Description |
value | VideoSegment |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setSegment(VideoSegment.Builder builderForValue)
public VideoAnnotationResults.Builder setSegment(VideoSegment.Builder builderForValue)
Video segment on which the annotation is run.
.google.cloud.videointelligence.v1.VideoSegment segment = 10;
Parameter | |
---|---|
Name | Description |
builderForValue | VideoSegment.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setSegmentLabelAnnotations(int index, LabelAnnotation value)
public VideoAnnotationResults.Builder setSegmentLabelAnnotations(int index, LabelAnnotation value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setSegmentLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setSegmentLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setSegmentPresenceLabelAnnotations(int index, LabelAnnotation value)
public VideoAnnotationResults.Builder setSegmentPresenceLabelAnnotations(int index, LabelAnnotation value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setSegmentPresenceLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setSegmentPresenceLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setShotAnnotations(int index, VideoSegment value)
public VideoAnnotationResults.Builder setShotAnnotations(int index, VideoSegment value)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameters | |
---|---|
Name | Description |
index | int |
value | VideoSegment |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setShotAnnotations(int index, VideoSegment.Builder builderForValue)
public VideoAnnotationResults.Builder setShotAnnotations(int index, VideoSegment.Builder builderForValue)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | VideoSegment.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setShotLabelAnnotations(int index, LabelAnnotation value)
public VideoAnnotationResults.Builder setShotLabelAnnotations(int index, LabelAnnotation value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setShotLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setShotLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setShotPresenceLabelAnnotations(int index, LabelAnnotation value)
public VideoAnnotationResults.Builder setShotPresenceLabelAnnotations(int index, LabelAnnotation value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | LabelAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setShotPresenceLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setShotPresenceLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setSpeechTranscriptions(int index, SpeechTranscription value)
public VideoAnnotationResults.Builder setSpeechTranscriptions(int index, SpeechTranscription value)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameters | |
---|---|
Name | Description |
index | int |
value | SpeechTranscription |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setSpeechTranscriptions(int index, SpeechTranscription.Builder builderForValue)
public VideoAnnotationResults.Builder setSpeechTranscriptions(int index, SpeechTranscription.Builder builderForValue)
Speech transcription.
repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | SpeechTranscription.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setTextAnnotations(int index, TextAnnotation value)
public VideoAnnotationResults.Builder setTextAnnotations(int index, TextAnnotation value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | TextAnnotation |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setTextAnnotations(int index, TextAnnotation.Builder builderForValue)
public VideoAnnotationResults.Builder setTextAnnotations(int index, TextAnnotation.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | TextAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoAnnotationResults.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |