- 2.52.0 (latest)
- 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.v1p1beta1.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
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.v1p1beta1.LabelAnnotation frame_label_annotations = 4;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllSegmentLabelAnnotations(Iterable<? extends LabelAnnotation> values)
public VideoAnnotationResults.Builder addAllSegmentLabelAnnotations(Iterable<? extends LabelAnnotation> values)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.videointelligence.v1p1beta1.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.v1p1beta1.VideoSegment shot_annotations = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegment> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addAllShotLabelAnnotations(Iterable<? extends LabelAnnotation> values)
public VideoAnnotationResults.Builder addAllShotLabelAnnotations(Iterable<? extends LabelAnnotation> values)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.videointelligence.v1p1beta1.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.v1p1beta1.SpeechTranscription speech_transcriptions = 11;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription> |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.LabelAnnotation frame_label_annotations = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.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)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.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)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.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)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.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)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addSegmentLabelAnnotationsBuilder()
public LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addSegmentLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.VideoSegment shot_annotations = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
VideoSegment.Builder |
addShotLabelAnnotations(LabelAnnotation value)
public VideoAnnotationResults.Builder addShotLabelAnnotations(LabelAnnotation value)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.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)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.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)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.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)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
LabelAnnotation.Builder |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
addShotLabelAnnotationsBuilder()
public LabelAnnotation.Builder addShotLabelAnnotationsBuilder()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
addShotLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder addShotLabelAnnotationsBuilder(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.SpeechTranscription speech_transcriptions = 11;
Returns | |
---|---|
Type | Description |
SpeechTranscription.Builder |
addSpeechTranscriptionsBuilder(int index)
public SpeechTranscription.Builder addSpeechTranscriptionsBuilder(int index)
Speech transcription.
repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SpeechTranscription.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()
Output only. 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.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7;
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.v1p1beta1.LabelAnnotation frame_label_annotations = 4;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearInputUri()
public VideoAnnotationResults.Builder clearInputUri()
Output only. Video file location in Google Cloud Storage.
string input_uri = 1;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoAnnotationResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearSegmentLabelAnnotations()
public VideoAnnotationResults.Builder clearSegmentLabelAnnotations()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearShotAnnotations()
public VideoAnnotationResults.Builder clearShotAnnotations()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearShotLabelAnnotations()
public VideoAnnotationResults.Builder clearShotLabelAnnotations()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
clearSpeechTranscriptions()
public VideoAnnotationResults.Builder clearSpeechTranscriptions()
Speech transcription.
repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11;
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()
Output only. 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()
Output only. 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()
Output only. 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.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7;
Returns | |
---|---|
Type | Description |
ExplicitContentAnnotation |
The explicitAnnotation. |
getExplicitAnnotationBuilder()
public ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder()
Explicit content annotation.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7;
Returns | |
---|---|
Type | Description |
ExplicitContentAnnotation.Builder |
getExplicitAnnotationOrBuilder()
public ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()
Explicit content annotation.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7;
Returns | |
---|---|
Type | Description |
ExplicitContentAnnotationOrBuilder |
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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.LabelAnnotation frame_label_annotations = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> |
getInputUri()
public String getInputUri()
Output only. Video file location in Google Cloud Storage.
string input_uri = 1;
Returns | |
---|---|
Type | Description |
String |
The inputUri. |
getInputUriBytes()
public ByteString getInputUriBytes()
Output only. Video file location in Google Cloud Storage.
string input_uri = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for inputUri. |
getSegmentLabelAnnotations(int index)
public LabelAnnotation getSegmentLabelAnnotations(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LabelAnnotation |
getSegmentLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
getSegmentLabelAnnotationsBuilderList()
public List<LabelAnnotation.Builder> getSegmentLabelAnnotationsBuilderList()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
Returns | |
---|---|
Type | Description |
List<Builder> |
getSegmentLabelAnnotationsCount()
public int getSegmentLabelAnnotationsCount()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
Returns | |
---|---|
Type | Description |
int |
getSegmentLabelAnnotationsList()
public List<LabelAnnotation> getSegmentLabelAnnotationsList()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
Returns | |
---|---|
Type | Description |
List<LabelAnnotation> |
getSegmentLabelAnnotationsOrBuilder(int index)
public LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LabelAnnotationOrBuilder |
getSegmentLabelAnnotationsOrBuilderList()
public List<? extends LabelAnnotationOrBuilder> getSegmentLabelAnnotationsOrBuilderList()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> |
getShotAnnotations(int index)
public VideoSegment getShotAnnotations(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.VideoSegment shot_annotations = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> |
getShotLabelAnnotations(int index)
public LabelAnnotation getShotLabelAnnotations(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LabelAnnotation |
getShotLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder getShotLabelAnnotationsBuilder(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LabelAnnotation.Builder |
getShotLabelAnnotationsBuilderList()
public List<LabelAnnotation.Builder> getShotLabelAnnotationsBuilderList()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getShotLabelAnnotationsCount()
public int getShotLabelAnnotationsCount()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
Returns | |
---|---|
Type | Description |
int |
getShotLabelAnnotationsList()
public List<LabelAnnotation> getShotLabelAnnotationsList()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
Returns | |
---|---|
Type | Description |
List<LabelAnnotation> |
getShotLabelAnnotationsOrBuilder(int index)
public LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LabelAnnotationOrBuilder |
getShotLabelAnnotationsOrBuilderList()
public List<? extends LabelAnnotationOrBuilder> getShotLabelAnnotationsOrBuilderList()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> |
getSpeechTranscriptions(int index)
public SpeechTranscription getSpeechTranscriptions(int index)
Speech transcription.
repeated .google.cloud.videointelligence.v1p1beta1.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.v1p1beta1.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.v1p1beta1.SpeechTranscription speech_transcriptions = 11;
Returns | |
---|---|
Type | Description |
List<Builder> |
getSpeechTranscriptionsCount()
public int getSpeechTranscriptionsCount()
Speech transcription.
repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11;
Returns | |
---|---|
Type | Description |
int |
getSpeechTranscriptionsList()
public List<SpeechTranscription> getSpeechTranscriptionsList()
Speech transcription.
repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11;
Returns | |
---|---|
Type | Description |
List<SpeechTranscription> |
getSpeechTranscriptionsOrBuilder(int index)
public SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder(int index)
Speech transcription.
repeated .google.cloud.videointelligence.v1p1beta1.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.v1p1beta1.SpeechTranscription speech_transcriptions = 11;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> |
hasError()
public boolean hasError()
Output only. 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.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the explicitAnnotation 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)
Output only. 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.v1p1beta1.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoAnnotationResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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.v1p1beta1.LabelAnnotation frame_label_annotations = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeSegmentLabelAnnotations(int index)
public VideoAnnotationResults.Builder removeSegmentLabelAnnotations(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
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.v1p1beta1.VideoSegment shot_annotations = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
removeShotLabelAnnotations(int index)
public VideoAnnotationResults.Builder removeShotLabelAnnotations(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
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.v1p1beta1.SpeechTranscription speech_transcriptions = 11;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
VideoAnnotationResults.Builder |
setError(Status value)
public VideoAnnotationResults.Builder setError(Status value)
Output only. 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)
Output only. 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.v1p1beta1.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.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
ExplicitContentAnnotation.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.v1p1beta1.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.v1p1beta1.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)
Output only. Video file location in Google 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)
Output only. Video file location in Google 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. |
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 |
setSegmentLabelAnnotations(int index, LabelAnnotation value)
public VideoAnnotationResults.Builder setSegmentLabelAnnotations(int index, LabelAnnotation value)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.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)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2;
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.v1p1beta1.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.v1p1beta1.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)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.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)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3;
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.v1p1beta1.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.v1p1beta1.SpeechTranscription speech_transcriptions = 11;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SpeechTranscription.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 |