- 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 VideoContext.Builder extends GeneratedMessageV3.Builder<VideoContext.Builder> implements VideoContextOrBuilder
Video context and/or feature-specific parameters.
Protobuf type google.cloud.videointelligence.v1p1beta1.VideoContext
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VideoContext.BuilderImplements
VideoContextOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllSegments(Iterable<? extends VideoSegment> values)
public VideoContext.Builder addAllSegments(Iterable<? extends VideoSegment> values)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegment> |
Type | Description |
VideoContext.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VideoContext.Builder |
addSegments(VideoSegment value)
public VideoContext.Builder addSegments(VideoSegment value)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
value | VideoSegment |
Type | Description |
VideoContext.Builder |
addSegments(VideoSegment.Builder builderForValue)
public VideoContext.Builder addSegments(VideoSegment.Builder builderForValue)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
builderForValue | VideoSegment.Builder |
Type | Description |
VideoContext.Builder |
addSegments(int index, VideoSegment value)
public VideoContext.Builder addSegments(int index, VideoSegment value)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
index | int |
value | VideoSegment |
Type | Description |
VideoContext.Builder |
addSegments(int index, VideoSegment.Builder builderForValue)
public VideoContext.Builder addSegments(int index, VideoSegment.Builder builderForValue)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
index | int |
builderForValue | VideoSegment.Builder |
Type | Description |
VideoContext.Builder |
addSegmentsBuilder()
public VideoSegment.Builder addSegmentsBuilder()
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Type | Description |
VideoSegment.Builder |
addSegmentsBuilder(int index)
public VideoSegment.Builder addSegmentsBuilder(int index)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
index | int |
Type | Description |
VideoSegment.Builder |
build()
public VideoContext build()
Type | Description |
VideoContext |
buildPartial()
public VideoContext buildPartial()
Type | Description |
VideoContext |
clear()
public VideoContext.Builder clear()
Type | Description |
VideoContext.Builder |
clearExplicitContentDetectionConfig()
public VideoContext.Builder clearExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
Type | Description |
VideoContext.Builder |
clearField(Descriptors.FieldDescriptor field)
public VideoContext.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VideoContext.Builder |
clearLabelDetectionConfig()
public VideoContext.Builder clearLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
Type | Description |
VideoContext.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VideoContext.Builder |
clearSegments()
public VideoContext.Builder clearSegments()
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Type | Description |
VideoContext.Builder |
clearShotChangeDetectionConfig()
public VideoContext.Builder clearShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
Type | Description |
VideoContext.Builder |
clearSpeechTranscriptionConfig()
public VideoContext.Builder clearSpeechTranscriptionConfig()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
Type | Description |
VideoContext.Builder |
clone()
public VideoContext.Builder clone()
Type | Description |
VideoContext.Builder |
getDefaultInstanceForType()
public VideoContext getDefaultInstanceForType()
Type | Description |
VideoContext |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExplicitContentDetectionConfig()
public ExplicitContentDetectionConfig getExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
Type | Description |
ExplicitContentDetectionConfig | The explicitContentDetectionConfig. |
getExplicitContentDetectionConfigBuilder()
public ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
Type | Description |
ExplicitContentDetectionConfig.Builder |
getExplicitContentDetectionConfigOrBuilder()
public ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
Type | Description |
ExplicitContentDetectionConfigOrBuilder |
getLabelDetectionConfig()
public LabelDetectionConfig getLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
Type | Description |
LabelDetectionConfig | The labelDetectionConfig. |
getLabelDetectionConfigBuilder()
public LabelDetectionConfig.Builder getLabelDetectionConfigBuilder()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
Type | Description |
LabelDetectionConfig.Builder |
getLabelDetectionConfigOrBuilder()
public LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
Type | Description |
LabelDetectionConfigOrBuilder |
getSegments(int index)
public VideoSegment getSegments(int index)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
index | int |
Type | Description |
VideoSegment |
getSegmentsBuilder(int index)
public VideoSegment.Builder getSegmentsBuilder(int index)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
index | int |
Type | Description |
VideoSegment.Builder |
getSegmentsBuilderList()
public List<VideoSegment.Builder> getSegmentsBuilderList()
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Type | Description |
List<Builder> |
getSegmentsCount()
public int getSegmentsCount()
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Type | Description |
int |
getSegmentsList()
public List<VideoSegment> getSegmentsList()
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Type | Description |
List<VideoSegment> |
getSegmentsOrBuilder(int index)
public VideoSegmentOrBuilder getSegmentsOrBuilder(int index)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
index | int |
Type | Description |
VideoSegmentOrBuilder |
getSegmentsOrBuilderList()
public List<? extends VideoSegmentOrBuilder> getSegmentsOrBuilderList()
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Type | Description |
List<? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> |
getShotChangeDetectionConfig()
public ShotChangeDetectionConfig getShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
Type | Description |
ShotChangeDetectionConfig | The shotChangeDetectionConfig. |
getShotChangeDetectionConfigBuilder()
public ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
Type | Description |
ShotChangeDetectionConfig.Builder |
getShotChangeDetectionConfigOrBuilder()
public ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
Type | Description |
ShotChangeDetectionConfigOrBuilder |
getSpeechTranscriptionConfig()
public SpeechTranscriptionConfig getSpeechTranscriptionConfig()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
Type | Description |
SpeechTranscriptionConfig | The speechTranscriptionConfig. |
getSpeechTranscriptionConfigBuilder()
public SpeechTranscriptionConfig.Builder getSpeechTranscriptionConfigBuilder()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
Type | Description |
SpeechTranscriptionConfig.Builder |
getSpeechTranscriptionConfigOrBuilder()
public SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
Type | Description |
SpeechTranscriptionConfigOrBuilder |
hasExplicitContentDetectionConfig()
public boolean hasExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
Type | Description |
boolean | Whether the explicitContentDetectionConfig field is set. |
hasLabelDetectionConfig()
public boolean hasLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
Type | Description |
boolean | Whether the labelDetectionConfig field is set. |
hasShotChangeDetectionConfig()
public boolean hasShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
Type | Description |
boolean | Whether the shotChangeDetectionConfig field is set. |
hasSpeechTranscriptionConfig()
public boolean hasSpeechTranscriptionConfig()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
Type | Description |
boolean | Whether the speechTranscriptionConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeExplicitContentDetectionConfig(ExplicitContentDetectionConfig value)
public VideoContext.Builder mergeExplicitContentDetectionConfig(ExplicitContentDetectionConfig value)
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
Name | Description |
value | ExplicitContentDetectionConfig |
Type | Description |
VideoContext.Builder |
mergeFrom(VideoContext other)
public VideoContext.Builder mergeFrom(VideoContext other)
Name | Description |
other | VideoContext |
Type | Description |
VideoContext.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VideoContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VideoContext.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VideoContext.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VideoContext.Builder |
mergeLabelDetectionConfig(LabelDetectionConfig value)
public VideoContext.Builder mergeLabelDetectionConfig(LabelDetectionConfig value)
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
Name | Description |
value | LabelDetectionConfig |
Type | Description |
VideoContext.Builder |
mergeShotChangeDetectionConfig(ShotChangeDetectionConfig value)
public VideoContext.Builder mergeShotChangeDetectionConfig(ShotChangeDetectionConfig value)
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
Name | Description |
value | ShotChangeDetectionConfig |
Type | Description |
VideoContext.Builder |
mergeSpeechTranscriptionConfig(SpeechTranscriptionConfig value)
public VideoContext.Builder mergeSpeechTranscriptionConfig(SpeechTranscriptionConfig value)
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
Name | Description |
value | SpeechTranscriptionConfig |
Type | Description |
VideoContext.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VideoContext.Builder |
removeSegments(int index)
public VideoContext.Builder removeSegments(int index)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
index | int |
Type | Description |
VideoContext.Builder |
setExplicitContentDetectionConfig(ExplicitContentDetectionConfig value)
public VideoContext.Builder setExplicitContentDetectionConfig(ExplicitContentDetectionConfig value)
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
Name | Description |
value | ExplicitContentDetectionConfig |
Type | Description |
VideoContext.Builder |
setExplicitContentDetectionConfig(ExplicitContentDetectionConfig.Builder builderForValue)
public VideoContext.Builder setExplicitContentDetectionConfig(ExplicitContentDetectionConfig.Builder builderForValue)
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
Name | Description |
builderForValue | ExplicitContentDetectionConfig.Builder |
Type | Description |
VideoContext.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VideoContext.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VideoContext.Builder |
setLabelDetectionConfig(LabelDetectionConfig value)
public VideoContext.Builder setLabelDetectionConfig(LabelDetectionConfig value)
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
Name | Description |
value | LabelDetectionConfig |
Type | Description |
VideoContext.Builder |
setLabelDetectionConfig(LabelDetectionConfig.Builder builderForValue)
public VideoContext.Builder setLabelDetectionConfig(LabelDetectionConfig.Builder builderForValue)
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
Name | Description |
builderForValue | LabelDetectionConfig.Builder |
Type | Description |
VideoContext.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VideoContext.Builder |
setSegments(int index, VideoSegment value)
public VideoContext.Builder setSegments(int index, VideoSegment value)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
index | int |
value | VideoSegment |
Type | Description |
VideoContext.Builder |
setSegments(int index, VideoSegment.Builder builderForValue)
public VideoContext.Builder setSegments(int index, VideoSegment.Builder builderForValue)
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
Name | Description |
index | int |
builderForValue | VideoSegment.Builder |
Type | Description |
VideoContext.Builder |
setShotChangeDetectionConfig(ShotChangeDetectionConfig value)
public VideoContext.Builder setShotChangeDetectionConfig(ShotChangeDetectionConfig value)
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
Name | Description |
value | ShotChangeDetectionConfig |
Type | Description |
VideoContext.Builder |
setShotChangeDetectionConfig(ShotChangeDetectionConfig.Builder builderForValue)
public VideoContext.Builder setShotChangeDetectionConfig(ShotChangeDetectionConfig.Builder builderForValue)
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
Name | Description |
builderForValue | ShotChangeDetectionConfig.Builder |
Type | Description |
VideoContext.Builder |
setSpeechTranscriptionConfig(SpeechTranscriptionConfig value)
public VideoContext.Builder setSpeechTranscriptionConfig(SpeechTranscriptionConfig value)
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
Name | Description |
value | SpeechTranscriptionConfig |
Type | Description |
VideoContext.Builder |
setSpeechTranscriptionConfig(SpeechTranscriptionConfig.Builder builderForValue)
public VideoContext.Builder setSpeechTranscriptionConfig(SpeechTranscriptionConfig.Builder builderForValue)
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
Name | Description |
builderForValue | SpeechTranscriptionConfig.Builder |
Type | Description |
VideoContext.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VideoContext.Builder |