@Experimental public class VideoIntelligence extends java.lang.Object
Adding a side input of Maps of elements to VideoContext objects is allowed, so is using KVs of element and VideoContext as input.
Service account with proper permissions is required to use these transforms.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | VideoIntelligence.AnnotateVideoFromBytesA PTransform taking a PCollection of  ByteStringand an optional side input with a
 context map and emitting lists ofVideoAnnotationResultsfor each element. | 
| static class  | VideoIntelligence.AnnotateVideoFromBytesWithContextA PTransform taking a PCollection of  KVofByteStringandVideoContextand emitting lists ofVideoAnnotationResultsfor each element. | 
| static class  | VideoIntelligence.AnnotateVideoFromUriA PTransform taking a PCollection of  Stringand an optional side input with a context
 map and emitting lists ofVideoAnnotationResultsfor each element. | 
| static class  | VideoIntelligence.AnnotateVideoFromURIWithContextA PTransform taking a PCollection of  KVofStringandVideoContextand
 emitting lists ofVideoAnnotationResultsfor each element. | 
| Constructor and Description | 
|---|
| VideoIntelligence() | 
| Modifier and Type | Method and Description | 
|---|---|
| static VideoIntelligence.AnnotateVideoFromBytes | annotateFromBytes(PCollectionView<java.util.Map<ByteString,com.google.cloud.videointelligence.v1.VideoContext>> contextSideInput,
                 java.util.List<com.google.cloud.videointelligence.v1.Feature> featureList)Annotates videos from ByteStrings of their contents. | 
| static VideoIntelligence.AnnotateVideoFromBytesWithContext | annotateFromBytesWithContext(java.util.List<com.google.cloud.videointelligence.v1.Feature> featureList)Annotates videos from key-value pairs of ByteStrings and VideoContext. | 
| static VideoIntelligence.AnnotateVideoFromUri | annotateFromURI(java.util.List<com.google.cloud.videointelligence.v1.Feature> featureList,
               PCollectionView<java.util.Map<java.lang.String,com.google.cloud.videointelligence.v1.VideoContext>> contextSideInput)Annotates videos from GCS URIs. | 
| static VideoIntelligence.AnnotateVideoFromURIWithContext | annotateFromUriWithContext(java.util.List<com.google.cloud.videointelligence.v1.Feature> featureList)Annotates videos from key-value pairs of GCS URI and VideoContext. | 
public static VideoIntelligence.AnnotateVideoFromUri annotateFromURI(java.util.List<com.google.cloud.videointelligence.v1.Feature> featureList, PCollectionView<java.util.Map<java.lang.String,com.google.cloud.videointelligence.v1.VideoContext>> contextSideInput)
featureList - List of features to be annotatedcontextSideInput - Optional side input with map of contexts to URIspublic static VideoIntelligence.AnnotateVideoFromBytes annotateFromBytes(PCollectionView<java.util.Map<ByteString,com.google.cloud.videointelligence.v1.VideoContext>> contextSideInput, java.util.List<com.google.cloud.videointelligence.v1.Feature> featureList)
featureList - List of features to be annotatedcontextSideInput - Optional side input with map of contexts to ByteStringspublic static VideoIntelligence.AnnotateVideoFromURIWithContext annotateFromUriWithContext(java.util.List<com.google.cloud.videointelligence.v1.Feature> featureList)
featureList - List of features to be annotatedpublic static VideoIntelligence.AnnotateVideoFromBytesWithContext annotateFromBytesWithContext(java.util.List<com.google.cloud.videointelligence.v1.Feature> featureList)
featureList - List of features to be annotated