Interface BatchingRequestBuilder<ElementT,RequestT> (2.10.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

NameDescription
ElementT
RequestT

Methods

add(ElementT element)

public abstract void add(ElementT element)

Adds element object into client specific batch request.

Parameter
NameDescription
elementElementT

build()

public abstract RequestT build()

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

Returns
TypeDescription
RequestT