code: @BetaApi(
        "The surface for long-running operations is not stable yet and may change in the future.")
    public final OperationFuture<Empty, OperationMetadata> importDataAsync(
        DatasetName name, InputConfig inputConfig) {
  
      ImportDataRequest request =
          ImportDataRequest.newBuilder()
              .setName(name == null ? null : name.toString())
              .setInputConfig(inputConfig)
              .build();
      return importDataAsync(request);
    }
docs: Imports data into a dataset. For Tables this method can only be called on an empty Dataset.
  
  <p>For Tables: &#42; A
  [schema_inference_version][google.cloud.automl.v1beta1.InputConfig.params] parameter must be
  explicitly set. Returns an empty response in the
  [response][google.longrunning.Operation.response] field when it completes.
  
  <p>Sample code:
  
  <pre><code>
  try (AutoMlClient autoMlClient = AutoMlClient.create()) {
  DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
  InputConfig inputConfig = InputConfig.newBuilder().build();
  autoMlClient.importDataAsync(name, inputConfig).get();
  }
  </code></pre>
  
  @param name Required. Dataset name. Dataset must already exist. All imported annotations and
  examples will be added.
  @param inputConfig Required. The desired input location and its domain specific semantics, if
  any.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails