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` within the Google API Client Library for Java, specifically under the `com.google.api.gax.longrunning` package."],["The latest version of `OperationFutures` documented is 2.63.1, with a variety of previous versions listed, dating back to 2.7.1."],["The `OperationFutures` class inherits from `java.lang.Object` and includes several inherited members such as `clone()`, `equals()`, and `wait()`."],["A static method `immediateOperationFuture` is provided, which allows the creation of an already-completed `OperationFuture`, useful for testing scenarios."],["`OperationFuture` needs `completedSnapshot.isDone()` to return true for the method `immediateOperationFuture`, `getResponse()` and `getMetadata()` from the snapshot must also be instances of `ResponseT` and `MetadataT` respectively."]]],[]]