public sealed class AnnotateTextResponse : IMessage<AnnotateTextResponse>, IEquatable<AnnotateTextResponse>, IDeepCloneable<AnnotateTextResponse>, IBufferMessage, IMessage
The text annotations response message.
Implements
IMessage<AnnotateTextResponse>, IEquatable<AnnotateTextResponse>, IDeepCloneable<AnnotateTextResponse>, IBufferMessage, IMessageNamespace
Google.Cloud.Language.V1Assembly
Google.Cloud.Language.V1.dll
Constructors
AnnotateTextResponse()
public AnnotateTextResponse()
AnnotateTextResponse(AnnotateTextResponse)
public AnnotateTextResponse(AnnotateTextResponse other)
Parameter | |
---|---|
Name | Description |
other | AnnotateTextResponse |
Properties
Categories
public RepeatedField<ClassificationCategory> Categories { get; }
Categories identified in the input document.
Property Value | |
---|---|
Type | Description |
RepeatedField<ClassificationCategory> |
DocumentSentiment
public Sentiment DocumentSentiment { get; set; }
The overall sentiment for the document. Populated if the user enables [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment].
Property Value | |
---|---|
Type | Description |
Sentiment |
Entities
public RepeatedField<Entity> Entities { get; }
Entities, along with their semantic information, in the input document. Populated if the user enables [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entities].
Property Value | |
---|---|
Type | Description |
RepeatedField<Entity> |
Language
public string Language { get; set; }
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][google.cloud.language.v1.Document.language] field for more details.
Property Value | |
---|---|
Type | Description |
String |
Sentences
public RepeatedField<Sentence> Sentences { get; }
Sentences in the input document. Populated if the user enables [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
Property Value | |
---|---|
Type | Description |
RepeatedField<Sentence> |
Tokens
public RepeatedField<Token> Tokens { get; }
Tokens, along with their syntactic information, in the input document. Populated if the user enables [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].
Property Value | |
---|---|
Type | Description |
RepeatedField<Token> |