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 webpage provides documentation for the \u003ccode\u003eOperationFutures\u003c/code\u003e class within the Google API Client Libraries for Java, specifically for version 2.54.1.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.63.1, and this page lists all versions from 2.63.1 down to 2.7.1, each linked to its respective documentation page.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOperationFutures\u003c/code\u003e inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, as indicated by the inheritance hierarchy, and has a list of inherited members from this parent class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationFutures\u003c/code\u003e class includes a static method, \u003ccode\u003eimmediateOperationFuture\u003c/code\u003e, which can be used to create an already-completed \u003ccode\u003eOperationFuture\u003c/code\u003e and it's a utility designed for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eimmediateOperationFuture\u003c/code\u003e method takes an \u003ccode\u003eOperationSnapshot\u003c/code\u003e as a parameter, and \u003ccode\u003ecompletedSnapshot.isDone()\u003c/code\u003e must return true.\u003c/p\u003e\n"]]],[],null,[]]