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.v1beta2.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, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<VideoContext.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic VideoContext build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic VideoContext buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic VideoContext.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<VideoContext.Builder>public VideoContext.Builder mergeFrom(VideoContext other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<VideoContext.Builder>public VideoContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<VideoContext.Builder>java.io.IOExceptionpublic java.util.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.VideoSegment segments = 1;public VideoContext.Builder addAllSegments(java.lang.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.VideoSegment segments = 1;getSegmentsOrBuilder in interface VideoContextOrBuilderpublic java.util.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.v1beta2.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.v1beta2.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.v1beta2.VideoSegment segments = 1;public java.util.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.v1beta2.VideoSegment segments = 1;public boolean hasLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;hasLabelDetectionConfig in interface VideoContextOrBuilderpublic LabelDetectionConfig getLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;getLabelDetectionConfig in interface VideoContextOrBuilderpublic VideoContext.Builder setLabelDetectionConfig(LabelDetectionConfig value)
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;public VideoContext.Builder setLabelDetectionConfig(LabelDetectionConfig.Builder builderForValue)
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;public VideoContext.Builder mergeLabelDetectionConfig(LabelDetectionConfig value)
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;public VideoContext.Builder clearLabelDetectionConfig()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;public LabelDetectionConfig.Builder getLabelDetectionConfigBuilder()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;public LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()
Config for LABEL_DETECTION.
.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;getLabelDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;hasShotChangeDetectionConfig in interface VideoContextOrBuilderpublic ShotChangeDetectionConfig getShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;getShotChangeDetectionConfig in interface VideoContextOrBuilderpublic VideoContext.Builder setShotChangeDetectionConfig(ShotChangeDetectionConfig value)
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;public VideoContext.Builder setShotChangeDetectionConfig(ShotChangeDetectionConfig.Builder builderForValue)
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;public VideoContext.Builder mergeShotChangeDetectionConfig(ShotChangeDetectionConfig value)
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;public VideoContext.Builder clearShotChangeDetectionConfig()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;public ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;public ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()
Config for SHOT_CHANGE_DETECTION.
.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;getShotChangeDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;hasExplicitContentDetectionConfig in interface VideoContextOrBuilderpublic ExplicitContentDetectionConfig getExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;getExplicitContentDetectionConfig in interface VideoContextOrBuilderpublic VideoContext.Builder setExplicitContentDetectionConfig(ExplicitContentDetectionConfig value)
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;public VideoContext.Builder setExplicitContentDetectionConfig(ExplicitContentDetectionConfig.Builder builderForValue)
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;public VideoContext.Builder mergeExplicitContentDetectionConfig(ExplicitContentDetectionConfig value)
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;public VideoContext.Builder clearExplicitContentDetectionConfig()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;public ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;public ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()
Config for EXPLICIT_CONTENT_DETECTION.
.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;getExplicitContentDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic boolean hasFaceDetectionConfig()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;hasFaceDetectionConfig in interface VideoContextOrBuilderpublic FaceDetectionConfig getFaceDetectionConfig()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;getFaceDetectionConfig in interface VideoContextOrBuilderpublic VideoContext.Builder setFaceDetectionConfig(FaceDetectionConfig value)
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;public VideoContext.Builder setFaceDetectionConfig(FaceDetectionConfig.Builder builderForValue)
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;public VideoContext.Builder mergeFaceDetectionConfig(FaceDetectionConfig value)
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;public VideoContext.Builder clearFaceDetectionConfig()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;public FaceDetectionConfig.Builder getFaceDetectionConfigBuilder()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;public FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder()
Config for FACE_DETECTION.
.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;getFaceDetectionConfigOrBuilder in interface VideoContextOrBuilderpublic final VideoContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<VideoContext.Builder>public final VideoContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<VideoContext.Builder>