public abstract class PredictionServiceClient.StreamDirectPredictStream : BidirectionalStreamingBase<StreamDirectPredictRequest, StreamDirectPredictResponse>, IDisposable
Reference documentation and code samples for the Cloud AI Platform v1 API class PredictionServiceClient.StreamDirectPredictStream.
[[["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-20 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003ePredictionServiceClient.StreamDirectPredictStream\u003c/code\u003e class within the Google Cloud AI Platform v1 API, covering versions from 1.0.0 to 3.22.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePredictionServiceClient.StreamDirectPredictStream\u003c/code\u003e is an abstract class that implements bidirectional streaming for \u003ccode\u003eStreamDirectPredict\u003c/code\u003e method calls, handling both request and response streams, as a child of \u003ccode\u003eBidirectionalStreamingBase\u003c/code\u003e it implements all it's methods.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods such as \u003ccode\u003eTryWriteAsync\u003c/code\u003e, \u003ccode\u003eWriteAsync\u003c/code\u003e, \u003ccode\u003eTryWriteCompleteAsync\u003c/code\u003e, \u003ccode\u003eWriteCompleteAsync\u003c/code\u003e, and \u003ccode\u003eGetResponseStream\u003c/code\u003e for managing the bidirectional streaming process, it also inherits methods such as \u003ccode\u003eDispose\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStreamDirectPredictStream\u003c/code\u003e class is used for making real-time predictions with the AI Platform, using \u003ccode\u003eStreamDirectPredictRequest\u003c/code\u003e and \u003ccode\u003eStreamDirectPredictResponse\u003c/code\u003e for the stream data.\u003c/p\u003e\n"],["\u003cp\u003eAll versions of the \u003ccode\u003ePredictionServiceClient.StreamDirectPredictStream\u003c/code\u003e class are accessible, with version 3.22.0 being the latest, each version having its own documentation within the page.\u003c/p\u003e\n"]]],[],null,[]]