question: performs asynchronous video annotation . progress and results can be retrieved through the ` google.longrunning.operations ` interface . ` operation.metadata ` contains ` annotatevideoprogress ` progress . ` operation.response ` contains ` annotatevideoresponse ` results . sample code : try videointelligenceserviceclient videointelligenceserviceclient = videointelligenceserviceclient.create string inputuri = '' '' ; list < feature > features = new arraylist < > ; videocontext videocontext = videocontext.newbuilder . build ; string outputuri = '' '' ; string locationid = '' '' ; annotatevideoresponse response = videointelligenceserviceclient.annotatevideoasync inputuri , features , videocontext , outputuri , locationid . get ; concode_field_sep VideoIntelligenceServiceSettings settings concode_elem_sep UnaryCallable<AnnotateVideoRequest,Operation> annotateVideoCallable concode_elem_sep ScheduledExecutorService executor concode_elem_sep ManagedChannel channel concode_elem_sep List<AutoCloseable> closeables concode_elem_sep OperationCallable<AnnotateVideoRequest,AnnotateVideoResponse,AnnotateVideoProgress> annotateVideoOperationCallable concode_elem_sep OperationsClient operationsClient concode_field_sep UnaryCallable<AnnotateVideoRequest,Operation> annotateVideoCallable concode_elem_sep VideoIntelligenceServiceSettings getSettings concode_elem_sep VideoIntelligenceServiceClient create concode_elem_sep VideoIntelligenceServiceClient create concode_elem_sep OperationCallable<AnnotateVideoRequest,AnnotateVideoResponse,AnnotateVideoProgress> annotateVideoOperationCallable concode_elem_sep OperationsClient getOperationsClient concode_elem_sep void close
target: OperationFuture < AnnotateVideoResponse , AnnotateVideoProgress > function ( String arg0 , List < Feature > arg1 , VideoContext arg2 , String arg3 , String arg4 ) { AnnotateVideoRequest loc0 = AnnotateVideoRequest . newBuilder ( ) . setInputUri ( arg0 ) . addAllFeatures ( arg1 ) . setVideoContext ( arg2 ) . setOutputUri ( arg3 ) . setLocationId ( arg4 ) . build ( ) ; return annotateVideoAsync ( loc0 ) ; }