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-17 UTC."],[[["This webpage provides documentation for the `OperationFutures` class in the Google API Client Library for Java, offering various versions of the class."],["The latest version of `OperationFutures` is 2.63.1, with links provided to documentation for numerous previous versions, including versions going back to 2.7.1."],["The `OperationFutures` class extends `java.lang.Object` and inherits several methods, such as `clone()`, `equals()`, and `toString()`."],["A static method `immediateOperationFuture` is detailed, which creates an already-completed `OperationFuture` instance, primarily useful for testing purposes, and takes an `OperationSnapshot` as its only parameter."],["The `immediateOperationFuture` method requires a completed snapshot where `isDone()` returns true, and the snapshot's `getResponse()` and `getMetadata()` must be instances of `ResponseT` and `MetadataT`, respectively."]]],[]]