public sealed class ClassifyTextResponse : IMessage<ClassifyTextResponse>, IEquatable<ClassifyTextResponse>, IDeepCloneable<ClassifyTextResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Natural Language v2 API class ClassifyTextResponse.
The language of the text, which will be the same as the language specified
in the request or, if not specified, the automatically-detected language.
See [Document.language][] field for more details.
Whether the language is officially supported. The API may still return a
response when the language is not supported, but it is on a best effort
basis.
[[["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-07 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eClassifyTextResponse\u003c/code\u003e class, which is part of the Cloud Natural Language v2 API and is used to represent the response message for document classification.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClassifyTextResponse\u003c/code\u003e class 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, providing functionalities for message handling, equality checks, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one default and one that accepts another \u003ccode\u003eClassifyTextResponse\u003c/code\u003e instance for copying, alongside three key properties: \u003ccode\u003eCategories\u003c/code\u003e, \u003ccode\u003eLanguageCode\u003c/code\u003e, and \u003ccode\u003eLanguageSupported\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCategories\u003c/code\u003e is a \u003ccode\u003eRepeatedField\u003c/code\u003e of \u003ccode\u003eClassificationCategory\u003c/code\u003e, containing the classifications of the input document, while \u003ccode\u003eLanguageCode\u003c/code\u003e is a string indicating the detected or specified language of the text, and \u003ccode\u003eLanguageSupported\u003c/code\u003e is a boolean that indicates if the language is supported.\u003c/p\u003e\n"]]],[],null,[]]