Package | Description |
---|---|
com.google.api.services.language.v2.model |
Modifier and Type | Method and Description |
---|---|
AnnotateTextResponse |
AnnotateTextResponse.clone() |
AnnotateTextResponse |
AnnotateTextResponse.set(String fieldName,
Object value) |
AnnotateTextResponse |
AnnotateTextResponse.setCategories(List<ClassificationCategory> categories)
Categories identified in the input document.
|
AnnotateTextResponse |
AnnotateTextResponse.setDocumentSentiment(Sentiment documentSentiment)
The overall sentiment for the document.
|
AnnotateTextResponse |
AnnotateTextResponse.setEntities(List<Entity> entities)
Entities, along with their semantic information, in the input document.
|
AnnotateTextResponse |
AnnotateTextResponse.setLanguageCode(String languageCode)
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.
|
AnnotateTextResponse |
AnnotateTextResponse.setLanguageSupported(Boolean languageSupported)
Whether the language is officially supported by all requested features.
|
AnnotateTextResponse |
AnnotateTextResponse.setModerationCategories(List<ClassificationCategory> moderationCategories)
Harmful and sensitive categories identified in the input document.
|
AnnotateTextResponse |
AnnotateTextResponse.setSentences(List<Sentence> sentences)
Sentences in the input document.
|
Copyright © 2011–2025 Google. All rights reserved.