AUnaryCallablewhich will batch requests based on the given BatchingDescriptor and
BatcherFactory. The BatcherFactory provides a distinct Batcher for each partition as specified by
the BatchingDescriptor. An example of a batching partition would be a pubsub topic.
This is public only for technical reasons, for advanced usage.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version of BatchingCallable is 2.63.1, and this page details version 2.8.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchingCallable\u003c/code\u003e is a subclass of \u003ccode\u003eUnaryCallable\u003c/code\u003e, designed to batch requests according to a specified \u003ccode\u003eBatchingDescriptor\u003c/code\u003e and \u003ccode\u003eBatcherFactory\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA distinct \u003ccode\u003eBatcher\u003c/code\u003e is provided for each partition, such as a pubsub topic, as defined by the \u003ccode\u003eBatchingDescriptor\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchingCallable\u003c/code\u003e has a constructor that takes \u003ccode\u003eUnaryCallable\u003c/code\u003e, \u003ccode\u003eBatchingDescriptor\u003c/code\u003e, and \u003ccode\u003eBatcherFactory\u003c/code\u003e as parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003efutureCall\u003c/code\u003e method, which is overriden from \u003ccode\u003eUnaryCallable\u003c/code\u003e, is used to asynchronously perform a batched call, taking a request and \u003ccode\u003eApiCallContext\u003c/code\u003e and returning an \u003ccode\u003eApiFuture<ResponseT>\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]