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-08-15 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eOperationFutures\u003c/code\u003e class is 2.63.1, but numerous older versions are also available, dating back to version 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOperationFutures\u003c/code\u003e class inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e and includes inherited members like \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals(Object)\u003c/code\u003e, and \u003ccode\u003egetClass()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eimmediateOperationFuture\u003c/code\u003e static method creates an already-completed \u003ccode\u003eOperationFuture\u003c/code\u003e, and it's primarily designed for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eimmediateOperationFuture\u003c/code\u003e method accepts an \u003ccode\u003eOperationSnapshot\u003c/code\u003e parameter, which must be completed, and its \u003ccode\u003egetResponse()\u003c/code\u003e and \u003ccode\u003egetMetadata()\u003c/code\u003e should be instances of \u003ccode\u003eResponseT\u003c/code\u003e and \u003ccode\u003eMetadataT\u003c/code\u003e respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eimmediateOperationFuture\u003c/code\u003e returns an \u003ccode\u003eOperationFuture<ResponseT,MetadataT>\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]