Interface VideoContextOrBuilder (2.43.0)

public interface VideoContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExplicitContentDetectionConfig()

public abstract ExplicitContentDetectionConfig getExplicitContentDetectionConfig()

Config for EXPLICIT_CONTENT_DETECTION.

.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;

Returns
Type Description
ExplicitContentDetectionConfig

The explicitContentDetectionConfig.

getExplicitContentDetectionConfigOrBuilder()

public abstract ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()

Config for EXPLICIT_CONTENT_DETECTION.

.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;

Returns
Type Description
ExplicitContentDetectionConfigOrBuilder

getFaceDetectionConfig()

public abstract FaceDetectionConfig getFaceDetectionConfig()

Config for FACE_DETECTION.

.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;

Returns
Type Description
FaceDetectionConfig

The faceDetectionConfig.

getFaceDetectionConfigOrBuilder()

public abstract FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder()

Config for FACE_DETECTION.

.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;

Returns
Type Description
FaceDetectionConfigOrBuilder

getLabelDetectionConfig()

public abstract LabelDetectionConfig getLabelDetectionConfig()

Config for LABEL_DETECTION.

.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;

Returns
Type Description
LabelDetectionConfig

The labelDetectionConfig.

getLabelDetectionConfigOrBuilder()

public abstract LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()

Config for LABEL_DETECTION.

.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;

Returns
Type Description
LabelDetectionConfigOrBuilder

getSegments(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
VideoSegment

getSegmentsCount()

public abstract 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;

Returns
Type Description
int

getSegmentsList()

public abstract 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;

Returns
Type Description
List<VideoSegment>

getSegmentsOrBuilder(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
VideoSegmentOrBuilder

getSegmentsOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>

getShotChangeDetectionConfig()

public abstract ShotChangeDetectionConfig getShotChangeDetectionConfig()

Config for SHOT_CHANGE_DETECTION.

.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;

Returns
Type Description
ShotChangeDetectionConfig

The shotChangeDetectionConfig.

getShotChangeDetectionConfigOrBuilder()

public abstract ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()

Config for SHOT_CHANGE_DETECTION.

.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;

Returns
Type Description
ShotChangeDetectionConfigOrBuilder

hasExplicitContentDetectionConfig()

public abstract boolean hasExplicitContentDetectionConfig()

Config for EXPLICIT_CONTENT_DETECTION.

.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4;

Returns
Type Description
boolean

Whether the explicitContentDetectionConfig field is set.

hasFaceDetectionConfig()

public abstract boolean hasFaceDetectionConfig()

Config for FACE_DETECTION.

.google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5;

Returns
Type Description
boolean

Whether the faceDetectionConfig field is set.

hasLabelDetectionConfig()

public abstract boolean hasLabelDetectionConfig()

Config for LABEL_DETECTION.

.google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2;

Returns
Type Description
boolean

Whether the labelDetectionConfig field is set.

hasShotChangeDetectionConfig()

public abstract boolean hasShotChangeDetectionConfig()

Config for SHOT_CHANGE_DETECTION.

.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3;

Returns
Type Description
boolean

Whether the shotChangeDetectionConfig field is set.