Package com.google.api.gax.batching
Interface BatchingRequestBuilder<ElementT,RequestT>
- Type Parameters:
ElementT- The type of each individual element to be batched.RequestT- The type of the request that will contain the accumulated elements.
@InternalApi("For google-cloud-java client use only.")
public interface BatchingRequestBuilder<ElementT,RequestT>
Adapter to pack individual elements into a larger batch request.
The implementation for this interface will be implemented by service specific client or auto generated by the gapic-generator.
-
Method Summary
-
Method Details
-
add
Adds element object into client specific batch request. -
build
RequestT build()Returns the collected elements as a single client specific batch request.
-