Interface VideoContextOrBuilder (2.26.0)

public interface VideoContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExplicitContentDetectionConfig()

public abstract ExplicitContentDetectionConfig getExplicitContentDetectionConfig()

Config for EXPLICIT_CONTENT_DETECTION.

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

Returns
TypeDescription
ExplicitContentDetectionConfig

The explicitContentDetectionConfig.

getExplicitContentDetectionConfigOrBuilder()

public abstract ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()

Config for EXPLICIT_CONTENT_DETECTION.

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

Returns
TypeDescription
ExplicitContentDetectionConfigOrBuilder

getFaceDetectionConfig()

public abstract FaceDetectionConfig getFaceDetectionConfig()

Config for FACE_DETECTION.

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

Returns
TypeDescription
FaceDetectionConfig

The faceDetectionConfig.

getFaceDetectionConfigOrBuilder()

public abstract FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder()

Config for FACE_DETECTION.

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

Returns
TypeDescription
FaceDetectionConfigOrBuilder

getLabelDetectionConfig()

public abstract LabelDetectionConfig getLabelDetectionConfig()

Config for LABEL_DETECTION.

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

Returns
TypeDescription
LabelDetectionConfig

The labelDetectionConfig.

getLabelDetectionConfigOrBuilder()

public abstract LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()

Config for LABEL_DETECTION.

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

Returns
TypeDescription
LabelDetectionConfigOrBuilder

getObjectTrackingConfig()

public abstract ObjectTrackingConfig getObjectTrackingConfig()

Config for OBJECT_TRACKING.

.google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13;

Returns
TypeDescription
ObjectTrackingConfig

The objectTrackingConfig.

getObjectTrackingConfigOrBuilder()

public abstract ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder()

Config for OBJECT_TRACKING.

.google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13;

Returns
TypeDescription
ObjectTrackingConfigOrBuilder

getPersonDetectionConfig()

public abstract PersonDetectionConfig getPersonDetectionConfig()

Config for PERSON_DETECTION.

.google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11;

Returns
TypeDescription
PersonDetectionConfig

The personDetectionConfig.

getPersonDetectionConfigOrBuilder()

public abstract PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder()

Config for PERSON_DETECTION.

.google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11;

Returns
TypeDescription
PersonDetectionConfigOrBuilder

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.v1.VideoSegment segments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.VideoSegment segments = 1;

Returns
TypeDescription
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.v1.VideoSegment segments = 1;

Returns
TypeDescription
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.v1.VideoSegment segments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.VideoSegment segments = 1;

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>

getShotChangeDetectionConfig()

public abstract ShotChangeDetectionConfig getShotChangeDetectionConfig()

Config for SHOT_CHANGE_DETECTION.

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

Returns
TypeDescription
ShotChangeDetectionConfig

The shotChangeDetectionConfig.

getShotChangeDetectionConfigOrBuilder()

public abstract ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()

Config for SHOT_CHANGE_DETECTION.

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

Returns
TypeDescription
ShotChangeDetectionConfigOrBuilder

getSpeechTranscriptionConfig()

public abstract SpeechTranscriptionConfig getSpeechTranscriptionConfig()

Config for SPEECH_TRANSCRIPTION.

.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6;

Returns
TypeDescription
SpeechTranscriptionConfig

The speechTranscriptionConfig.

getSpeechTranscriptionConfigOrBuilder()

public abstract SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder()

Config for SPEECH_TRANSCRIPTION.

.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6;

Returns
TypeDescription
SpeechTranscriptionConfigOrBuilder

getTextDetectionConfig()

public abstract TextDetectionConfig getTextDetectionConfig()

Config for TEXT_DETECTION.

.google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8;

Returns
TypeDescription
TextDetectionConfig

The textDetectionConfig.

getTextDetectionConfigOrBuilder()

public abstract TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder()

Config for TEXT_DETECTION.

.google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8;

Returns
TypeDescription
TextDetectionConfigOrBuilder

hasExplicitContentDetectionConfig()

public abstract boolean hasExplicitContentDetectionConfig()

Config for EXPLICIT_CONTENT_DETECTION.

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

Returns
TypeDescription
boolean

Whether the explicitContentDetectionConfig field is set.

hasFaceDetectionConfig()

public abstract boolean hasFaceDetectionConfig()

Config for FACE_DETECTION.

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

Returns
TypeDescription
boolean

Whether the faceDetectionConfig field is set.

hasLabelDetectionConfig()

public abstract boolean hasLabelDetectionConfig()

Config for LABEL_DETECTION.

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

Returns
TypeDescription
boolean

Whether the labelDetectionConfig field is set.

hasObjectTrackingConfig()

public abstract boolean hasObjectTrackingConfig()

Config for OBJECT_TRACKING.

.google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13;

Returns
TypeDescription
boolean

Whether the objectTrackingConfig field is set.

hasPersonDetectionConfig()

public abstract boolean hasPersonDetectionConfig()

Config for PERSON_DETECTION.

.google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11;

Returns
TypeDescription
boolean

Whether the personDetectionConfig field is set.

hasShotChangeDetectionConfig()

public abstract boolean hasShotChangeDetectionConfig()

Config for SHOT_CHANGE_DETECTION.

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

Returns
TypeDescription
boolean

Whether the shotChangeDetectionConfig field is set.

hasSpeechTranscriptionConfig()

public abstract boolean hasSpeechTranscriptionConfig()

Config for SPEECH_TRANSCRIPTION.

.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6;

Returns
TypeDescription
boolean

Whether the speechTranscriptionConfig field is set.

hasTextDetectionConfig()

public abstract boolean hasTextDetectionConfig()

Config for TEXT_DETECTION.

.google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8;

Returns
TypeDescription
boolean

Whether the textDetectionConfig field is set.