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-04-09 UTC."],[[["This webpage provides documentation for `OperationFutures`, specifically within the context of the Google API Client Libraries for Java (gax)."],["The latest version of the `OperationFutures` documentation available is 2.63.1, with links provided for numerous previous versions all the way down to version 2.7.1."],["`OperationFutures` inherits from `java.lang.Object`, as seen by the documented inherited members."],["The page documents a static method called `immediateOperationFuture`, which creates an already-completed `OperationFuture`, primarily intended for testing purposes."],["The `immediateOperationFuture` static method requires an `OperationSnapshot` parameter that is already done, and the `OperationSnapshot` must be of the `ResponseT` and `MetadataT` type."]]],[]]