public final OperationFuture<BatchTranslateResponse, BatchTranslateMetadata>
      batchTranslateTextAsync(BatchTranslateTextRequest request) {
    return batchTranslateTextOperationCallable().futureCall(request);
  }
Translates a large volume of text in asynchronous batch mode. This function provides real-time
output as the inputs are being processed. If caller cancels a request, the partial results (for
an input file, it's all or nothing) may still be available on the specified output location.

<p>This call returns immediately and you can use google.longrunning.Operation.name to poll the
status of the call.

<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 (TranslationServiceClient translationServiceClient = TranslationServiceClient.create()) {
  BatchTranslateTextRequest request =
      BatchTranslateTextRequest.newBuilder()
          .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
          .setSourceLanguageCode("sourceLanguageCode1645917472")
          .addAllTargetLanguageCodes(new ArrayList<String>())
          .putAllModels(new HashMap<String, String>())
          .addAllInputConfigs(new ArrayList<InputConfig>())
          .setOutputConfig(OutputConfig.newBuilder().build())
          .putAllGlossaries(new HashMap<String, TranslateTextGlossaryConfig>())
          .putAllLabels(new HashMap<String, String>())
          .build();
  BatchTranslateResponse response =
      translationServiceClient.batchTranslateTextAsync(request).get();
}
}</pre>

@param request The request object containing all of the parameters for the API call.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3/TranslationServiceClient.java