public static final class VideoContext.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder> implements VideoContextOrBuilder
Video context and/or feature-specific parameters.Protobuf type
google.cloud.videointelligence.v1p1beta1.VideoContextgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VideoContext build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VideoContext buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VideoContext.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoContext.Builder>public VideoContext.Builder mergeFrom(VideoContext other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoContext.Builder>IOExceptionpublic 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;getSegmentsList in interface VideoContextOrBuilderpublic 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;getSegmentsCount in interface VideoContextOrBuilderpublic 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;getSegments in interface VideoContextOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getSegmentsOrBuilder in interface VideoContextOrBuilderpublic 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;getSegmentsOrBuilderList in interface VideoContextOrBuilderpublic 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;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;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;public boolean hasLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
hasLabelDetectionConfig in interface VideoContextOrBuilderpublic LabelDetectionConfig getLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
getLabelDetectionConfig in interface VideoContextOrBuilderpublic VideoContext.Builder setLabelDetectionConfig(LabelDetectionConfig value)
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
public VideoContext.Builder setLabelDetectionConfig(LabelDetectionConfig.Builder builderForValue)
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
public VideoContext.Builder mergeLabelDetectionConfig(LabelDetectionConfig value)
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
public VideoContext.Builder clearLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
public LabelDetectionConfig.Builder getLabelDetectionConfigBuilder()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
public LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2;
getLabelDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
hasShotChangeDetectionConfig in interface VideoContextOrBuilderpublic ShotChangeDetectionConfig getShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
getShotChangeDetectionConfig in interface VideoContextOrBuilderpublic VideoContext.Builder setShotChangeDetectionConfig(ShotChangeDetectionConfig value)
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
public VideoContext.Builder setShotChangeDetectionConfig(ShotChangeDetectionConfig.Builder builderForValue)
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
public VideoContext.Builder mergeShotChangeDetectionConfig(ShotChangeDetectionConfig value)
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
public VideoContext.Builder clearShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
public ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
public ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3;
getShotChangeDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
hasExplicitContentDetectionConfig in interface VideoContextOrBuilderpublic ExplicitContentDetectionConfig getExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
getExplicitContentDetectionConfig in interface VideoContextOrBuilderpublic VideoContext.Builder setExplicitContentDetectionConfig(ExplicitContentDetectionConfig value)
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
public VideoContext.Builder setExplicitContentDetectionConfig(ExplicitContentDetectionConfig.Builder builderForValue)
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
public VideoContext.Builder mergeExplicitContentDetectionConfig(ExplicitContentDetectionConfig value)
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
public VideoContext.Builder clearExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
public ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
public ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4;
getExplicitContentDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasSpeechTranscriptionConfig()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
hasSpeechTranscriptionConfig in interface VideoContextOrBuilderpublic SpeechTranscriptionConfig getSpeechTranscriptionConfig()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
getSpeechTranscriptionConfig in interface VideoContextOrBuilderpublic VideoContext.Builder setSpeechTranscriptionConfig(SpeechTranscriptionConfig value)
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
public VideoContext.Builder setSpeechTranscriptionConfig(SpeechTranscriptionConfig.Builder builderForValue)
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
public VideoContext.Builder mergeSpeechTranscriptionConfig(SpeechTranscriptionConfig value)
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
public VideoContext.Builder clearSpeechTranscriptionConfig()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
public SpeechTranscriptionConfig.Builder getSpeechTranscriptionConfigBuilder()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
public SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder()
Config for SPEECH_TRANSCRIPTION.
.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6;
getSpeechTranscriptionConfigOrBuilder in interface VideoContextOrBuilderpublic final VideoContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>public final VideoContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VideoContext.Builder>Copyright © 2019 Google LLC. All rights reserved.