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 detailing the `com.google.api.gax.longrunning.OperationFutures` class across various versions."],["The documentation covers a range of versions, from the latest `2.63.1` down to `2.7.1`, allowing users to access documentation relevant to their project's dependency version."],["`OperationFutures` inherits several methods from the `java.lang.Object` class, including `clone()`, `equals()`, `getClass()`, and others, which are accessible to `OperationFutures`."],["The `immediateOperationFuture` static method allows for the creation of a pre-completed `OperationFuture`, particularly useful in testing scenarios, where the `completedSnapshot` parameter must have `isDone()` return true and `getResponse()` and `getMetadata()` be instances of the type `ResponseT` and `MetadataT`."],["The static method `immediateOperationFuture` requires one parameter, called `completedSnapshot`, which is of the type `OperationSnapshot`, and returns a object of type `OperationFuture`."]]],[]]