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"]],[["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-03-21 UTC."],[[["This documentation details the `ClassifyTextResponse` class, which is part of the Cloud Natural Language v2 API and is used to represent the response message for document classification."],["The `ClassifyTextResponse` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality checks, deep cloning, and buffer management."],["The class offers two constructors, one default and one that accepts another `ClassifyTextResponse` instance for copying, alongside three key properties: `Categories`, `LanguageCode`, and `LanguageSupported`."],["`Categories` is a `RepeatedField` of `ClassificationCategory`, containing the classifications of the input document, while `LanguageCode` is a string indicating the detected or specified language of the text, and `LanguageSupported` is a boolean that indicates if the language is supported."]]],[]]