Skip navigation links

@Generated(value="by gapic-generator-java")

Package com.google.cloud.videointelligence.v1p3beta1

The interfaces provided are listed below, along with usage samples.

See: Description

Package com.google.cloud.videointelligence.v1p3beta1 Description

The interfaces provided are listed below, along with usage samples.

======================= VideoIntelligenceServiceClient =======================

Service Description: Service that implements the Video Intelligence API.

Sample for VideoIntelligenceServiceClient:


 try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =
     VideoIntelligenceServiceClient.create()) {
   String inputUri = "inputUri470706498";
   List<Feature> features = new ArrayList<>();
   AnnotateVideoResponse response =
       videoIntelligenceServiceClient.annotateVideoAsync(inputUri, features).get();
 }
 

======================= StreamingVideoIntelligenceServiceClient =======================

Service Description: Service that implements streaming Video Intelligence API.

Sample for StreamingVideoIntelligenceServiceClient:


 try (StreamingVideoIntelligenceServiceClient streamingVideoIntelligenceServiceClient =
     StreamingVideoIntelligenceServiceClient.create()) {
   BidiStream<StreamingAnnotateVideoRequest, StreamingAnnotateVideoResponse> bidiStream =
       streamingVideoIntelligenceServiceClient.streamingAnnotateVideoCallable().call();
   StreamingAnnotateVideoRequest request = StreamingAnnotateVideoRequest.newBuilder().build();
   bidiStream.send(request);
   for (StreamingAnnotateVideoResponse response : bidiStream) {
     // Do something when a response is received.
   }
 }
 
Skip navigation links

Copyright © 2021 Google LLC. All rights reserved.