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-03-21 UTC."],[[["This page provides documentation for `OperationFutures` in the Google API Client Library for Java, specifically within the `com.google.api.gax.longrunning` package."],["The latest available version for `OperationFutures` is 2.63.1, and the page lists numerous previous versions down to version 2.7.1, with direct links to each version's documentation."],["The `OperationFutures` class extends the `java.lang.Object` class and includes inherited methods like `clone()`, `equals()`, `hashCode()`, and `toString()`."],["A static method, `immediateOperationFuture`, is available for creating an already-completed `OperationFuture`, primarily for testing purposes, requiring a completed `OperationSnapshot` as input."],["The documentation states that the `completedSnapshot` input for `immediateOperationFuture` must return true when calling `isDone()` and that calling `getResponse()` and `getMetadata()` must return values that are instances of `ResponseT` and `MetadataT`, respectively."]]],[]]