run image detection and annotation for a batch of images . sample code : try imageannotatorclient imageannotatorclient = imageannotatorclient.create list < annotateimagerequest > requests = new arraylist < > ; batchannotateimagesrequest request = batchannotateimagesrequest.newbuilder . addallrequests requests . build ; apifuture < batchannotateimagesresponse > future = imageannotatorclient.batchannotateimagescallable . futurecall request ; / / do something batchannotateimagesresponse response = future.get ; concode_field_sep ImageAnnotatorSettings settings concode_elem_sep UnaryCallable<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse> batchAnnotateImagesCallable concode_elem_sep ScheduledExecutorService executor concode_elem_sep ManagedChannel channel concode_elem_sep List<AutoCloseable> closeables concode_field_sep ImageAnnotatorSettings getSettings concode_elem_sep ImageAnnotatorClient create concode_elem_sep ImageAnnotatorClient create concode_elem_sep BatchAnnotateImagesResponse batchAnnotateImages concode_elem_sep BatchAnnotateImagesResponse batchAnnotateImages concode_elem_sep void close
UnaryCallable < BatchAnnotateImagesRequest , BatchAnnotateImagesResponse > function ( ) { return batchAnnotateImagesCallable ; }