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\u003eThis webpage details the \u003ccode\u003eBatchingCallable\u003c/code\u003e class, a subclass of \u003ccode\u003eUnaryCallable\u003c/code\u003e, designed to batch multiple requests together.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchingCallable\u003c/code\u003e utilizes a \u003ccode\u003eBatchingDescriptor\u003c/code\u003e and \u003ccode\u003eBatcherFactory\u003c/code\u003e to manage and partition requests, such as grouping messages by a Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a constructor for creating \u003ccode\u003eBatchingCallable\u003c/code\u003e instances, taking a \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 is available for performing asynchronous calls, taking a request and an \u003ccode\u003eApiCallContext\u003c/code\u003e as input and returning an \u003ccode\u003eApiFuture\u003c/code\u003e of the response type.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage also includes links to multiple previous versions of the \u003ccode\u003eBatchingCallable\u003c/code\u003e documentation, from version 2.63.1 down to 2.7.1.\u003c/p\u003e\n"]]],[],null,[]]