Creates an already-completed OperationFuture, useful for testing.
completedSnapshot.isDone() must return true. The snapshot's getResponse()
and getMetadata() must be instances of ResponseT and MetadataT,
respectively.
[[["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-03-21 UTC."],[[["This webpage provides a comprehensive list of versions for the `OperationFutures` class, ranging from the latest version, 2.63.1, down to version 2.7.1."],["The `OperationFutures` class, which inherits from `java.lang.Object`, offers a static method called `immediateOperationFuture` for creating an already-completed `OperationFuture` that is mainly intended for testing purposes."],["The `immediateOperationFuture` method requires an `OperationSnapshot` parameter, where `isDone()` must be true, and `getResponse()` and `getMetadata()` must be instances of `ResponseT` and `MetadataT`, respectively."],["The `immediateOperationFuture` method returns an `OperationFuture` object of type `\u003cResponseT,MetadataT\u003e`."],["Each version listed on the page links to its own specific documentation for `OperationFutures` within the Google API Client Library for Java."]]],[]]