public final OperationCallable<
          CreateApplicationInstancesRequest, CreateApplicationInstancesResponse, OperationMetadata>
      createApplicationInstancesOperationCallable() {
    return stub.createApplicationInstancesOperationCallable();
  }
Adds target stream input to the Application. If the Application is deployed, the corresponding
new Application instance will be created. If the stream has already been in the Application,
the RPC will fail.

<p>Sample code:

<pre>{@code
// 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 (AppPlatformClient appPlatformClient = AppPlatformClient.create()) {
  CreateApplicationInstancesRequest request =
      CreateApplicationInstancesRequest.newBuilder()
          .setName(ApplicationName.of("[PROJECT]", "[LOCATION]", "[APPLICATION]").toString())
          .addAllApplicationInstances(new ArrayList<ApplicationInstance>())
          .setRequestId("requestId693933066")
          .build();
  OperationFuture<CreateApplicationInstancesResponse, OperationMetadata> future =
      appPlatformClient.createApplicationInstancesOperationCallable().futureCall(request);
  // Do something.
  CreateApplicationInstancesResponse response = future.get();
}
}</pre>
java-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/AppPlatformClient.java