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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eOperationFutures\u003c/code\u003e class within the Google API Client Library for Java, specifically focusing on version 2.57.0, with links to other versions.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version documented is 2.63.1, labeled as the latest, and the page contains a comprehensive list of links to previous versions, dating back to version 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationFutures\u003c/code\u003e class extends \u003ccode\u003ejava.lang.Object\u003c/code\u003e and includes methods inherited from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eA static method, \u003ccode\u003eimmediateOperationFuture\u003c/code\u003e, is detailed, allowing the creation of an already-completed \u003ccode\u003eOperationFuture\u003c/code\u003e instance, which is especially helpful for testing scenarios.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eimmediateOperationFuture\u003c/code\u003e method requires a completed \u003ccode\u003eOperationSnapshot\u003c/code\u003e parameter and returns an \u003ccode\u003eOperationFuture\u003c/code\u003e, specifying the types for Response and Metadata.\u003c/p\u003e\n"]]],[],null,[]]