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-02 UTC."],[[["The webpage provides documentation for `OperationFutures` within the Google API Client Library for Java (gax), focusing on version 2.30.1."],["It lists numerous historical versions of `OperationFutures`, from version 2.63.1 (latest) down to 2.7.1, each linked to their respective documentation page."],["`OperationFutures` extends from `java.lang.Object`, and therefore inherits various methods, including `clone()`, `equals()`, and `hashCode()`."],["A static method `immediateOperationFuture` is available for creating pre-completed `OperationFuture` instances, specifically for testing purposes."],["The `immediateOperationFuture` static method requires a `completedSnapshot` parameter, which is an instance of `OperationSnapshot`, to return an `OperationFuture`."]]],[]]