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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(ElementT element)Adds element object into client specific batch request.RequestTbuild()Returns the collected elements as a single client specific batch request.
-