google-cloud-video-intelligence overview (2.28.0)

com.google.cloud.videointelligence.v1

A client to Cloud Video Intelligence API

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

VideoIntelligenceServiceClient

Service Description: Service that implements the Video Intelligence API.

Sample for VideoIntelligenceServiceClient:

  // This snippet has been automatically generated and should be regarded as a code template only.  // It will require modifications to work:  // - It may require correct/in-range values for request initialization.  // - It may require specifying regional endpoints when creating the service client as shown in  // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library  try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =  VideoIntelligenceServiceClient.create()) {  String inputUri = "inputUri470706498";  List<Feature> features = new ArrayList<>();  AnnotateVideoResponse response =  videoIntelligenceServiceClient.annotateVideoAsync(inputUri, features).get();  }  

com.google.cloud.videointelligence.v1.stub

com.google.cloud.videointelligence.v1beta2

A client to Google Cloud Video Intelligence API

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

VideoIntelligenceServiceClient

Service Description: Service that implements Google Cloud Video Intelligence API.

Sample for VideoIntelligenceServiceClient:

  // This snippet has been automatically generated and should be regarded as a code template only.  // It will require modifications to work:  // - It may require correct/in-range values for request initialization.  // - It may require specifying regional endpoints when creating the service client as shown in  // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library  try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =  VideoIntelligenceServiceClient.create()) {  String inputUri = "inputUri470706498";  List<Feature> features = new ArrayList<>();  AnnotateVideoResponse response =  videoIntelligenceServiceClient.annotateVideoAsync(inputUri, features).get();  }  

com.google.cloud.videointelligence.v1beta2.stub

com.google.cloud.videointelligence.v1p1beta1

A client to Cloud Video Intelligence API

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

VideoIntelligenceServiceClient

Service Description: Service that implements Google Cloud Video Intelligence API.

Sample for VideoIntelligenceServiceClient:

  // This snippet has been automatically generated and should be regarded as a code template only.  // It will require modifications to work:  // - It may require correct/in-range values for request initialization.  // - It may require specifying regional endpoints when creating the service client as shown in  // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library  try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =  VideoIntelligenceServiceClient.create()) {  String inputUri = "inputUri470706498";  List<Feature> features = new ArrayList<>();  AnnotateVideoResponse response =  videoIntelligenceServiceClient.annotateVideoAsync(inputUri, features).get();  }  

com.google.cloud.videointelligence.v1p1beta1.stub

com.google.cloud.videointelligence.v1p2beta1

A client to Cloud Video Intelligence API

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

VideoIntelligenceServiceClient

Service Description: Service that implements Google Cloud Video Intelligence API.

Sample for VideoIntelligenceServiceClient:

  // This snippet has been automatically generated and should be regarded as a code template only.  // It will require modifications to work:  // - It may require correct/in-range values for request initialization.  // - It may require specifying regional endpoints when creating the service client as shown in  // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library  try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =  VideoIntelligenceServiceClient.create()) {  String inputUri = "inputUri470706498";  List<Feature> features = new ArrayList<>();  AnnotateVideoResponse response =  videoIntelligenceServiceClient.annotateVideoAsync(inputUri, features).get();  }  

com.google.cloud.videointelligence.v1p2beta1.stub

com.google.cloud.videointelligence.v1p3beta1

A client to Cloud Video Intelligence API

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

VideoIntelligenceServiceClient

Service Description: Service that implements the Video Intelligence API.

Sample for VideoIntelligenceServiceClient:

  // This snippet has been automatically generated and should be regarded as a code template only.  // It will require modifications to work:  // - It may require correct/in-range values for request initialization.  // - It may require specifying regional endpoints when creating the service client as shown in  // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library  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:

  // This snippet has been automatically generated and should be regarded as a code template only.  // It will require modifications to work:  // - It may require correct/in-range values for request initialization.  // - It may require specifying regional endpoints when creating the service client as shown in  // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library  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.  }  }  

com.google.cloud.videointelligence.v1p3beta1.stub