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 \u003ccode\u003eOperationFutures\u003c/code\u003e within the Google API Client Library for Java, specifically under the \u003ccode\u003ecom.google.api.gax.longrunning\u003c/code\u003e package.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.63.1, and the page details version history from 2.63.1 down to version 2.7.1, with version 2.39.0 being the version shown on this particular page.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationFutures\u003c/code\u003e class inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e and has its members including methods such as \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, and \u003ccode\u003ewait()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA static method \u003ccode\u003eimmediateOperationFuture\u003c/code\u003e allows the creation of an already-completed \u003ccode\u003eOperationFuture\u003c/code\u003e which is designed for use in testing, requiring a completed \u003ccode\u003eOperationSnapshot\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]