public interface VideoContextOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFaceDetectionModel()
Model to use for face detection.
|
ByteString |
getFaceDetectionModelBytes()
Model to use for face detection.
|
LabelDetectionMode |
getLabelDetectionMode()
If label detection has been requested, what labels should be detected
in addition to video-level labels or segment-level labels.
|
java.lang.String |
getLabelDetectionModel()
Model to use for label detection.
|
ByteString |
getLabelDetectionModelBytes()
Model to use for label detection.
|
int |
getLabelDetectionModeValue()
If label detection has been requested, what labels should be detected
in addition to video-level labels or segment-level labels.
|
java.lang.String |
getSafeSearchDetectionModel()
Model to use for safe search detection.
|
ByteString |
getSafeSearchDetectionModelBytes()
Model to use for safe search detection.
|
VideoSegment |
getSegments(int index)
Video segments to annotate.
|
int |
getSegmentsCount()
Video segments to annotate.
|
java.util.List<VideoSegment> |
getSegmentsList()
Video segments to annotate.
|
VideoSegmentOrBuilder |
getSegmentsOrBuilder(int index)
Video segments to annotate.
|
java.util.List<? extends VideoSegmentOrBuilder> |
getSegmentsOrBuilderList()
Video segments to annotate.
|
java.lang.String |
getShotChangeDetectionModel()
Model to use for shot change detection.
|
ByteString |
getShotChangeDetectionModelBytes()
Model to use for shot change detection.
|
boolean |
getStationaryCamera()
Whether the video has been shot from a stationary (i.e.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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.v1beta1.VideoSegment segments = 1;
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.v1beta1.VideoSegment segments = 1;
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.v1beta1.VideoSegment segments = 1;
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.v1beta1.VideoSegment segments = 1;
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.v1beta1.VideoSegment segments = 1;
int getLabelDetectionModeValue()
If label detection has been requested, what labels should be detected in addition to video-level labels or segment-level labels. If unspecified, defaults to `SHOT_MODE`.
.google.cloud.videointelligence.v1beta1.LabelDetectionMode label_detection_mode = 2;
LabelDetectionMode getLabelDetectionMode()
If label detection has been requested, what labels should be detected in addition to video-level labels or segment-level labels. If unspecified, defaults to `SHOT_MODE`.
.google.cloud.videointelligence.v1beta1.LabelDetectionMode label_detection_mode = 2;
boolean getStationaryCamera()
Whether the video has been shot from a stationary (i.e. non-moving) camera. When set to true, might improve detection accuracy for moving objects.
bool stationary_camera = 3;
java.lang.String getLabelDetectionModel()
Model to use for label detection. Supported values: "latest" and "stable" (the default).
string label_detection_model = 4;
ByteString getLabelDetectionModelBytes()
Model to use for label detection. Supported values: "latest" and "stable" (the default).
string label_detection_model = 4;
java.lang.String getFaceDetectionModel()
Model to use for face detection. Supported values: "latest" and "stable" (the default).
string face_detection_model = 5;
ByteString getFaceDetectionModelBytes()
Model to use for face detection. Supported values: "latest" and "stable" (the default).
string face_detection_model = 5;
java.lang.String getShotChangeDetectionModel()
Model to use for shot change detection. Supported values: "latest" and "stable" (the default).
string shot_change_detection_model = 6;
ByteString getShotChangeDetectionModelBytes()
Model to use for shot change detection. Supported values: "latest" and "stable" (the default).
string shot_change_detection_model = 6;
java.lang.String getSafeSearchDetectionModel()
Model to use for safe search detection. Supported values: "latest" and "stable" (the default).
string safe_search_detection_model = 7;
ByteString getSafeSearchDetectionModelBytes()
Model to use for safe search detection. Supported values: "latest" and "stable" (the default).
string safe_search_detection_model = 7;