ElementT - The type of each individual element to be batched.ElementResultT - The type of the result for each individual element.@BetaApi(value="The surface for batching is not stable yet and may change in the future.") @InternalApi(value="For google-cloud-java client use only.") public abstract class BatchEntry<ElementT,ElementResultT> extends Object
successful or failed.| Constructor and Description |
|---|
BatchEntry() |
| Modifier and Type | Method and Description |
|---|---|
static <ElementT,ElementResultT> |
create(ElementT element,
com.google.api.core.SettableApiFuture<ElementResultT> resultFuture)
Returns a new BatchEntry
|
abstract ElementT |
getElement() |
abstract com.google.api.core.SettableApiFuture<ElementResultT> |
getResultFuture() |
public static <ElementT,ElementResultT> BatchEntry<ElementT,ElementResultT> create(@Nullable ElementT element, com.google.api.core.SettableApiFuture<ElementResultT> resultFuture)
public abstract com.google.api.core.SettableApiFuture<ElementResultT> getResultFuture()