public sealed class PredictionResult : IMessage<PredictionResult>, IEquatable<PredictionResult>, IDeepCloneable<PredictionResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class PredictionResult.
Represents a line of JSONL in the batch prediction output file.
The prediction result.
Value is used here instead of Any so that JsonFormat does not append an
extra "@type" field when we convert the proto to JSON and so we can
represent array of objects.
Do not set error if this is set.
[[["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-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePredictionResult\u003c/code\u003e class in the Vertex AI v1beta1 API represents a single line of JSONL in a batch prediction output file.\u003c/p\u003e\n"],["\u003cp\u003eThis class, found in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.Schema\u003c/code\u003e namespace, provides properties for error information, input instance, prediction results, and optional user-provided keys.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePredictionResult\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for advanced functionality and data handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one default and another that accepts another PredictionResult instance for copying its values.\u003c/p\u003e\n"],["\u003cp\u003eThe class uses \u003ccode\u003eStruct\u003c/code\u003e and \u003ccode\u003eValue\u003c/code\u003e instead of \u003ccode\u003eAny\u003c/code\u003e to avoid adding an extra \u003ccode\u003e@type\u003c/code\u003e in the json, and it provides an \u003ccode\u003eInputCase\u003c/code\u003e property to determine which data is actually available in the class.\u003c/p\u003e\n"]]],[],null,[]]