@BetaApi(
      "The surface for long-running operations is not stable yet and may change in the future.")
  public final OperationFuture<Empty, Struct> batchCreateEntitiesAsync(
      BatchCreateEntitiesRequest request) {
    return batchCreateEntitiesOperationCallable().futureCall(request);
  }
@ BetaApi ( "The surface for long-running operations is not stable yet and may change in the future." ) public final OperationFuture < Empty , Struct > batchCreateEntitiesAsync ( BatchCreateEntitiesRequest request ) { return batchCreateEntitiesOperationCallable ( ) . futureCall ( request ) ; }
Creates multiple new entities in the specified entity type.

<p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;

<p>Sample code:

<pre><code>
try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
EntityTypeName parent = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
List&lt;EntityType.Entity&gt; entities = new ArrayList&lt;&gt;();
BatchCreateEntitiesRequest request = BatchCreateEntitiesRequest.newBuilder()
.setParent(parent.toString())
.addAllEntities(entities)
.build();
entityTypesClient.batchCreateEntitiesAsync(request).get();
}
</code></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