Interface BatchingRequestBuilder<ElementT,RequestT> (2.57.0)

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.

Type Parameters

Name Description
ElementT
RequestT

Methods

add(ElementT element)

public abstract void add(ElementT element)

Adds element object into client specific batch request.

Parameter
Name Description
element ElementT

build()

public abstract RequestT build()

Returns the collected elements as a single client specific batch request.

Returns
Type Description
RequestT