ElementT - The type of each individual element to be batched.RequestT - The type of the request that will contain the accumulated elements.@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 interface BatchingRequestBuilder<ElementT,RequestT>
The implementation for this interface will be implemented by service specific client or auto generated by the gapic-generator.
| Modifier and Type | Method and Description |
|---|---|
void |
add(ElementT element)
Adds element object into client specific batch request.
|
RequestT |
build()
Returns the collected elements as a single client specific batch request.
|