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 documentation for `OperationFutures` within the Google API Client Library for Java."],["The latest version of `OperationFutures` is 2.63.1, with a list of all previous versions going back to 2.7.1 that each have their own specific documentation."],["`OperationFutures` inherits members from the `java.lang.Object` class, including methods like `clone()`, `equals()`, and `wait()`."],["The documentation details a static method, `immediateOperationFuture`, which allows the creation of a pre-completed `OperationFuture` for testing, requiring an `OperationSnapshot` parameter."],["The `immediateOperationFuture` method's `completedSnapshot` parameter must return true for `isDone()` and provide instances of `ResponseT` and `MetadataT` for its `getResponse()` and `getMetadata()` methods, respectively."]]],[]]